export type JsonObject = Record; export type JsonPathSegment = string | number; export type JsonPath = readonly JsonPathSegment[]; export declare function readJsonObjectFile(filePath: string): Promise; export declare function jsonObjectFileExists(filePath: string): Promise; export declare function writeJsonObjectFile(filePath: string, value: JsonObject): Promise; export declare function updateJsonObjectFile(filePath: string, mutator: (config: JsonObject) => void | JsonObject | Promise): Promise; export declare function getJsonPath(root: unknown, path: JsonPath): unknown; export declare function setJsonPath(root: JsonObject, path: JsonPath, value: unknown): JsonObject; export declare function removeJsonPath(root: JsonObject, path: JsonPath): boolean; export declare function setJsonPathInFile(filePath: string, path: JsonPath, value: unknown): Promise; export declare function removeJsonPathInFile(filePath: string, path: JsonPath): Promise; export declare function isJsonObject(value: unknown): value is JsonObject; //# sourceMappingURL=config-json.d.ts.map