import type { ASTNode } from 'magicast';
import type { JsonValue, ParsedConfig, PathToken, SourceEdit } from './types.js';
/** Compares JSON values by structure, independent of object insertion order. */
export declare function equalValue(left: JsonValue, right: JsonValue): boolean;
/** Builds literal parents for a newly inserted nested path. */
export declare function missingValue(tokens: PathToken[], value: JsonValue): JsonValue;
/** Updates JSON containers in place, preserving matched preset labels and comments. */
export declare function updateValue(parsed: ParsedConfig, input: ASTNode, value: JsonValue): SourceEdit[];
/** Prints unusual JSON property names as source string literals. */
export declare function printKey(code: string, key: string): string;
//# sourceMappingURL=update.d.ts.map