import type { TunnelServer } from '../tunnel-server.js'; import type { RuleMatch } from './rule-match.js'; export type GeoLite2Options = { path: string; }; export declare class GeoLite2 { readonly path: string; tunnelServer: TunnelServer; private readerPromise; /** * Will be set to `undefined` after the first successful loading (from either * saved file or update). */ private readerResolver; constructor({ path }: GeoLite2Options); createGeoIPRuleMatch(pattern: string | string[]): RuleMatch; private updating; private updatedAt; private get outdated(); private initializeCalled; private initializeOrUpdate; private initialize; private update; private get; }