type TOMLValue = string | number | boolean | string[] | number[]; type TOMLObject = { [key: string]: TOMLValue | TOMLObject; }; /** * Serialize an object to TOML format string. */ export declare function serializeToTOML(obj: TOMLObject): string; /** * Write a value to a TOML config file. * Creates the file and parent directories if they don't exist. * Preserves existing content. */ export declare function writeTOMLValue(filePath: string, key: string, value: TOMLValue): Promise; /** * Remove a key from a TOML config file. * Does nothing if the file or key doesn't exist. */ export declare function removeTOMLKey(filePath: string, key: string): Promise; /** * Create a commented configuration template. */ export declare function createConfigTemplate(): string; export {}; //# sourceMappingURL=toml-writer.d.ts.map