import { type MergeResult } from './json-file.js'; /** * Whether a TOML document already declares `table` (dotted path, e.g. * "mcp_servers.bitmovin"). Parses for real so commented-out blocks don't * false-positive. Throws when the document is not valid TOML. */ export declare function hasTomlTable(text: string, table: string): boolean; /** * Ensures `block` (a full `[table]` section) exists in the TOML file. When the * table is already present the file is left untouched. Otherwise the block is * appended as text — the file is never re-serialized, so user comments and * formatting survive. Pre-existing files are backed up to `.bak`. */ export declare function ensureTomlBlock(file: string, table: string, block: string): MergeResult; //# sourceMappingURL=toml-block.d.ts.map