/** * INI / properties file parser. * Parse INI files, read sections and keys, convert to JSON. */ export interface IniDocument { /** Global keys (before any section header). */ global: Record; /** Named sections. */ sections: Record>; } /** Parse an INI/properties file. */ export declare function parseIni(text: string): IniDocument; /** Get all section names from an INI document. */ export declare function getSections(doc: IniDocument): string[]; /** Get a specific key from a section (or global if section is undefined). */ export declare function getValue(doc: IniDocument, key: string, section?: string): string | undefined; /** Convert an INI document to a flat JSON-compatible object. */ export declare function iniToJson(doc: IniDocument): Record; /** Convert a JSON object back to INI format string. */ export declare function jsonToIni(data: Record): string; //# sourceMappingURL=ini-parser.d.ts.map