export interface TomlDefinition { path: readonly string[]; offset: number; } export interface TomlStatement { startOffset: number; endOffset: number; definitions: readonly TomlDefinition[]; } export interface StrictTomlDocument { definitions: readonly TomlDefinition[]; statements: readonly TomlStatement[]; } /** Validate the complete TOML document and retain statement boundaries for safe rewrites. */ export declare function parseStrictTomlDocument(source: string): StrictTomlDocument; /** Validate the complete TOML document and return every semantic table/key definition. */ export declare function parseStrictTomlDefinitions(source: string): TomlDefinition[]; //# sourceMappingURL=strict-toml.d.ts.map