/** * Given an expanded model, an include map, and a JSONPath target path array, * determines which file the target lives in and the relative path within that file. * * Returns: * - filePath: the included file path, or null if the target is in the main model * - relativePath: the JSONPath components within the source file (starts with '$') */ export declare function traceToSource(expandedModel: Record, includeMap: Map, targetPath: (string | number)[]): { filePath: string | null; relativePath: (string | number)[]; }; /** * Read an included JSON file and return parsed data. */ export declare function readIncludeFile(filePath: string): Record; /** * Write an included JSON file as formatted JSON. */ export declare function writeIncludeFile(filePath: string, data: unknown): void; /** * Resolve a JSONPath target within an included file's data. * relativePath is a path array starting with '$'. */ export declare function resolveInInclude(includeData: Record, relativePath: (string | number)[]): unknown[]; //# sourceMappingURL=include-writer.d.ts.map