/** * Config Tools * MCP tools for managing cdp-tools configuration */ import { z } from 'zod'; /** Subset of ChromeLauncher the config tool needs for profile management. */ export interface ProfileStore { getPersistentProfileRoot(): string; listPersistentProfiles(): Promise; resetPersistentProfile(profile: string): Promise<{ profile: string; path: string; existed: boolean; }>; } /** * Which build is answering, for `config status`. Supplied by the entry point, * which is the only thing that knows where it was loaded from. */ export interface ServerIdentity { version: string; entryPath: string; buildMtime: string; } export declare function createConfigTools(profileStore?: ProfileStore, serverIdentity?: ServerIdentity): { config: { description: string; zodSchema: z.ZodObject<{ action: z.ZodEnum<["status", "useLocal", "useGlobal", "reset", "backup", "cloneFromGlobal", "show", "listTools", "reload", "restart", "listProfiles", "resetProfile"]>; seedFromGlobal: z.ZodOptional; path: z.ZodOptional; profile: z.ZodOptional; }, "strict", z.ZodTypeAny, { action: "status" | "reload" | "reset" | "restart" | "useLocal" | "useGlobal" | "backup" | "cloneFromGlobal" | "show" | "listTools" | "listProfiles" | "resetProfile"; profile?: string | undefined; path?: string | undefined; seedFromGlobal?: boolean | undefined; }, { action: "status" | "reload" | "reset" | "restart" | "useLocal" | "useGlobal" | "backup" | "cloneFromGlobal" | "show" | "listTools" | "listProfiles" | "resetProfile"; profile?: string | undefined; path?: string | undefined; seedFromGlobal?: boolean | undefined; }>; inputSchema: import("zod-to-json-schema").JsonSchema7Type & { $schema?: string | undefined; definitions?: { [key: string]: import("zod-to-json-schema").JsonSchema7Type; } | undefined; }; handler: (args: { action: "status" | "reload" | "reset" | "restart" | "useLocal" | "useGlobal" | "backup" | "cloneFromGlobal" | "show" | "listTools" | "listProfiles" | "resetProfile"; profile?: string | undefined; path?: string | undefined; seedFromGlobal?: boolean | undefined; }, abortSignal?: AbortSignal) => Promise; }; }; //# sourceMappingURL=config-tools.d.ts.map