import type { AsnDisplayInfo, AsnEntry } from "./types.js"; export interface AsnIntel { /** Whether the database was loaded successfully. */ readonly available: boolean; /** Total number of ASN records. */ readonly count: number; /** Get ASN entry by exact number. */ exactLookup: (asn: number) => AsnEntry | undefined; /** Prefix search returning formatted display items. */ prefixSearch: (prefix: string, limit?: number) => AsnEntry[]; /** Format an ASN entry into display strings for LSP features. */ formatDisplay: (entry: AsnEntry) => AsnDisplayInfo; /** Lookup + format in one call (convenience). */ lookupDisplay: (asn: number) => AsnDisplayInfo | undefined; } /** * Create an ASN intelligence instance. * Loads the bundled database; returns a no-op stub if the DB file is missing (graceful degradation). */ export declare const createAsnIntel: (dbPath?: string) => AsnIntel; //# sourceMappingURL=intel.d.ts.map