import { type POItem } from '../util/util.js'; export interface GettextCall { /** Local name of the gettext function, e.g. `gt` */ name: string; /** Line on which the call starts, 1-based */ line: number; /** The PO item of this single call, with its own comments and flags */ item: POItem; } export interface ExtractedCalls { calls: GettextCall[]; /** Names under which the gettext module is imported */ identifiers: Set; } export declare function extractCalls(id: string, code: string, knownIdentifiers?: Iterable): ExtractedCalls; export declare function extractItems(id: string, code: string): Map; //# sourceMappingURL=extract.d.ts.map