import { Country } from './Country'; import type { CountryAttributes, CountryList } from './types'; /** * CountryLoader class for loading country data */ export declare class CountryLoader { static country(code: string, hydrate?: true): Country; static country(code: string, hydrate: false): CountryAttributes; static country(code: string, hydrate?: boolean): Country | CountryAttributes; static countries(longlist?: boolean, hydrate?: boolean): Country[] | CountryList; static where(key: string, operator: string, value?: any): CountryList; protected static operatorForWhere(key: string, operator: string, value: any): (item: any, index: string) => boolean; protected static filter(items: CountryList, callback?: (item: any, index: string) => boolean): CountryList; protected static get(target: any, key: string | string[], defaultValue?: any): any; protected static pluck(array: any[], value: string | string[], key?: string | string[] | null): any; protected static collapse(array: any[]): any[]; protected static getFile(filePath: string): string; }