import { z } from 'zod'; export declare const EvaluateMainworldInputSchema: z.ZodObject<{ pageId: z.ZodOptional; script: z.ZodString; }, "strip", z.ZodTypeAny, { script: string; pageId?: string | undefined; }, { script: string; pageId?: string | undefined; }>; export declare const EvaluateIsolatedInputSchema: z.ZodObject<{ pageId: z.ZodOptional; script: z.ZodString; }, "strip", z.ZodTypeAny, { script: string; pageId?: string | undefined; }, { script: string; pageId?: string | undefined; }>; /** * Execute JavaScript in the main world context. * - Can access window globals (__NUXT__, __NEXT_DATA__, etc.) * - CANNOT use async/await/Promise * - Uses mw: prefix for Camoufox */ export declare function evaluateMainworld(input: z.infer): Promise<{ success: boolean; error: string; detectedPatterns: string[]; suggestion: string; result?: undefined; } | { success: boolean; result: unknown; error?: undefined; detectedPatterns?: undefined; suggestion?: undefined; } | { success: boolean; error: string; detectedPatterns?: undefined; suggestion?: undefined; result?: undefined; }>; /** * Execute JavaScript in isolated context. * - Supports async/await/Promise * - CANNOT access window globals * - Standard Playwright evaluate */ export declare function evaluateIsolated(input: z.infer): Promise<{ success: boolean; result: unknown; error?: undefined; } | { success: boolean; error: string; result?: undefined; }>; /** * Convenience tool to get framework state (Next.js, Nuxt, etc.) */ export declare const GetFrameworkStateInputSchema: z.ZodObject<{ pageId: z.ZodOptional; framework: z.ZodDefault>; }, "strip", z.ZodTypeAny, { framework: "auto" | "nextjs" | "nuxt"; pageId?: string | undefined; }, { pageId?: string | undefined; framework?: "auto" | "nextjs" | "nuxt" | undefined; }>; export declare function getFrameworkState(input: z.infer): Promise<{ success: boolean; framework: string | null; state: unknown; error?: undefined; } | { success: boolean; error: string; framework?: undefined; state?: undefined; }>; //# sourceMappingURL=evaluate.d.ts.map