import { z } from 'zod'; import { Audit } from './audit.js'; import { createHandoffStore, createSessionStore } from './console-handoff.js'; export declare const DEFAULT_CONSOLE_HOST = "127.0.0.1"; declare const ConsolePolicyPatchSchema: z.ZodObject<{ maxRows: z.ZodOptional; allowTools: z.ZodOptional>; denyTools: z.ZodOptional>; allowTables: z.ZodOptional>; denyTables: z.ZodOptional>; maskColumns: z.ZodOptional>; piiMasking: z.ZodOptional; }, z.core.$strict>; export type ConsolePolicyPatch = z.infer; export declare function validateConsoleConfig(input: unknown): ConsolePolicyPatch; /** * Overlay only the governance fields the console edits. connectors, audit, * profiles and actorProfiles stay as they were — dropping them would be a * silent policy downgrade. */ export declare function mergeConsolePolicyPatch(existing: Record, patch: ConsolePolicyPatch): Record; /** Same-directory temp + rename: a crash mid-write cannot leave a half config. */ export declare function writeConfigAtomic(configFile: string, contents: string): void; export declare function redactSecretFields(value: unknown): unknown; export declare function createPlaygroundAudit(auditFile: string): Audit; export declare function createConsoleApp(opts?: { configFile?: string; auditFile?: string; handoff?: ReturnType; sessions?: ReturnType; onPresence?: () => void; }): import("express-serve-static-core").Express; export declare function startConsole(port?: number, host?: string): void; export {}; //# sourceMappingURL=console.d.ts.map