@scottlexium/finpro
Version:
🚀 FinPro.js by Scott Lexium - The most comprehensive TypeScript library for financial data operations. Features 154+ currencies, 250+ countries, MongoDB-style queries, dual ESM/CommonJS support, and flag integration. Created by Scott Lexium for modern Ja
43 lines • 1.63 kB
TypeScript
import type { State, QueryBuilder, ICountry, ILanguage } from '../../types';
export declare class GeographyModule {
private countryData;
private stateData;
private languageData;
constructor();
country(): QueryBuilder<ICountry & {
id: string;
}>;
countries(): QueryBuilder<ICountry & {
id: string;
}>;
state(): QueryBuilder<State>;
states(): QueryBuilder<State>;
language(): QueryBuilder<ILanguage & {
id: string;
}>;
languages(): QueryBuilder<ILanguage & {
id: string;
}>;
}
export declare const getCountry: (geoModule: GeographyModule) => (code: string) => (ICountry & {
id: string;
}) | null;
export declare const getAllCountries: (geoModule: GeographyModule) => () => (ICountry & {
id: string;
})[];
export declare const findCountries: (geoModule: GeographyModule) => (filter: Record<string, any>) => (ICountry & {
id: string;
})[];
export declare const getState: (geoModule: GeographyModule) => (code: string) => State | null;
export declare const getAllStates: (geoModule: GeographyModule) => () => State[];
export declare const findStates: (geoModule: GeographyModule) => (filter: Record<string, any>) => State[];
export declare const getLanguage: (geoModule: GeographyModule) => (code: string) => (ILanguage & {
id: string;
}) | null;
export declare const getAllLanguages: (geoModule: GeographyModule) => () => (ILanguage & {
id: string;
})[];
export declare const findLanguages: (geoModule: GeographyModule) => (filter: Record<string, any>) => (ILanguage & {
id: string;
})[];
//# sourceMappingURL=index.d.ts.map