/** The CLI's file format: 4-space indent, no trailing newline (serde_json's pretty printer). */ export declare function formatIndex(value: unknown): string; /** Config files: like `formatIndex()`, with keys sorted at every level, as the CLI writes them. */ export declare function formatConfig(value: unknown): string; /** The CLI's `sanitize_filename`: a filesystem-safe file stem for an agent or tool name. */ export declare function sanitizeFilename(name: string): string; /** The CLI's `generate_unique_filename`: `