import type { RouteRegistry, TreeNode } from "./types"; type File = RouteRegistry | TreeNode; interface Data { json: T; fileName: string; } type RedactionFn = (json: T) => T; export declare class LocalFileSave { private directory; constructor(directory: string); save(data: Data, redactionFn: RedactionFn): void; } export declare function initRedactFn(redact: boolean, jsonType: "router-registry"): RedactionFn; export declare function initRedactFn(redact: boolean, jsonType: "tree-node"): RedactionFn; export {};