import { z } from "zod"; export declare const BROWSER_USE_API_URL = "https://api.browser-use.com/api/v4"; export declare const BROWSER_USE_IDLE_MS: number; /** Remote viewport dimensions, not Paperclip layout tokens. */ export declare const BROWSER_USE_VIEWPORT_PRESETS: readonly [{ readonly id: "phone"; readonly label: "Phone"; readonly width: 390; readonly height: 844; }, { readonly id: "tablet"; readonly label: "Tablet"; readonly width: 768; readonly height: 1024; }, { readonly id: "laptop"; readonly label: "Laptop"; readonly width: 1280; readonly height: 800; }, { readonly id: "desktop"; readonly label: "Desktop"; readonly width: 1440; readonly height: 900; }]; export declare const browserUseViewportPresetSchema: z.ZodEnum<{ default: "default"; desktop: "desktop"; fit: "fit"; laptop: "laptop"; phone: "phone"; tablet: "tablet"; }>; export type BrowserUseViewportPreset = z.infer; export declare const browserUseViewerSchema: z.ZodObject<{ viewerId: z.ZodString; }, z.core.$strict>; export declare const browserUseViewportSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ preset: z.ZodLiteral<"fit">; width: z.ZodNumber; height: z.ZodNumber; viewerId: z.ZodString; takeControl: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ preset: z.ZodEnum<{ default: "default"; desktop: "desktop"; laptop: "laptop"; phone: "phone"; tablet: "tablet"; }>; viewerId: z.ZodOptional; }, z.core.$strict>], "preset">; export type BrowserUseViewportRequest = z.infer; export interface BrowserUseViewportState { preset: BrowserUseViewportPreset; width?: number; height?: number; controlledElsewhere?: boolean; /** True only when remote metrics changed (lease renewals do not create audit noise). */ applied?: boolean; } export declare const browserUseSettingsSchema: z.ZodObject<{ allowedProfileIds: z.ZodDefault>; maxCostUsd: z.ZodDefault>; }, z.core.$strict>; export type BrowserUseSettings = z.infer; export declare const browserUseControlSchema: z.ZodObject<{ action: z.ZodEnum<{ cancel: "cancel"; end: "end"; keep_open: "keep_open"; }>; }, z.core.$strict>; export type BrowserUseControl = z.infer["action"]; export interface TaskBrowser { id: string; sessionId: string; issueId: string; status: "starting" | "running" | "idle" | "stopping" | "closed" | "failed"; runStatus: string | null; progress: string | null; costCents: number; idleDeadline: string | null; expiresAt: string | null; error: string | null; createdAt: string; } /** Reviewed v4 catalog. Never proxy arbitrary provider paths or request bodies. */ export declare const BROWSER_USE_TOOLS: { name: string; title: string; description: string; inputSchema: { type: string; properties: Record; required: string[]; additionalProperties: boolean; }; annotations: { readOnlyHint: boolean; destructiveHint: boolean; idempotentHint: boolean; openWorldHint: boolean; }; }[]; //# sourceMappingURL=browser-use.d.ts.map