/** * TOML emitter. * * Converts JavaScript objects to TOML document strings. * Handles scalars, tables, arrays, array of tables, and inline tables. */ export interface EmitTOMLOptions { /** Comment to prepend at the top of the document. */ header?: string; /** Key ordering hint: keys matching earlier entries appear first. */ keyOrder?: string[]; } /** * Emit a JavaScript object as a TOML document string. * * - Top-level scalars, arrays of scalars → bare key-value pairs. * - Nested objects → `[section]` tables. * - Arrays of objects → `[[section]]` array of tables. * - Deeply nested objects → `[parent.child]` dotted sections. */ export declare function emitTOML(value: unknown, options?: EmitTOMLOptions): string; //# sourceMappingURL=toml-emit.d.ts.map