/** * Console Monitoring Tools */ import { z } from 'zod'; import { PuppeteerManager } from '../puppeteer-manager.js'; import { ConsoleMonitor } from '../console-monitor.js'; export declare function createConsoleTools(puppeteerManager: PuppeteerManager, consoleMonitor: ConsoleMonitor, resolveConnectionFromReason: (connectionReason: string) => Promise): { console: { description: string; zodSchema: z.ZodObject<{ action: z.ZodEnum<["list", "get", "recent", "search", "clear", "setObjectDepth"]>; connectionReason: z.ZodString; type: z.ZodOptional; limit: z.ZodOptional; offset: z.ZodOptional; id: z.ZodOptional; full: z.ZodOptional; textOffset: z.ZodOptional; textLimit: z.ZodOptional; argsIndex: z.ZodOptional; pattern: z.ZodOptional; flags: z.ZodOptional; count: z.ZodOptional; reason: z.ZodOptional; depth: z.ZodOptional; }, "strict", z.ZodTypeAny, { action: "clear" | "search" | "list" | "get" | "recent" | "setObjectDepth"; connectionReason: string; full?: boolean | undefined; count?: number | undefined; id?: string | undefined; type?: string | undefined; reason?: string | undefined; pattern?: string | undefined; limit?: number | undefined; offset?: number | undefined; textOffset?: number | undefined; textLimit?: number | undefined; argsIndex?: number | undefined; flags?: string | undefined; depth?: number | undefined; }, { action: "clear" | "search" | "list" | "get" | "recent" | "setObjectDepth"; connectionReason: string; full?: boolean | undefined; count?: number | undefined; id?: string | undefined; type?: string | undefined; reason?: string | undefined; pattern?: string | undefined; limit?: number | undefined; offset?: number | undefined; textOffset?: number | undefined; textLimit?: number | undefined; argsIndex?: number | undefined; flags?: string | undefined; depth?: number | undefined; }>; inputSchema: import("zod-to-json-schema").JsonSchema7Type & { $schema?: string | undefined; definitions?: { [key: string]: import("zod-to-json-schema").JsonSchema7Type; } | undefined; }; handler: (args: { action: "clear" | "search" | "list" | "get" | "recent" | "setObjectDepth"; connectionReason: string; full?: boolean | undefined; count?: number | undefined; id?: string | undefined; type?: string | undefined; reason?: string | undefined; pattern?: string | undefined; limit?: number | undefined; offset?: number | undefined; textOffset?: number | undefined; textLimit?: number | undefined; argsIndex?: number | undefined; flags?: string | undefined; depth?: number | undefined; }, abortSignal?: AbortSignal) => Promise; }; }; //# sourceMappingURL=console-tools.d.ts.map