import { z } from 'zod'; import { ActionResult } from '../agent/views'; import { BrowserSession } from '../browser/session'; import { Registry } from './registry/service'; import { FileSystem } from '../filesystem/index'; import { BaseChatModel } from '../llm/base'; export interface ControllerConfig { excludeActions?: string[]; outputModel?: z.ZodType; displayFilesInDoneText?: boolean; } export declare class Controller { private registry; private displayFilesInDoneText; constructor(config?: ControllerConfig); private registerDefaultActions; private registerSearchGoogleAction; private searchGoogle; private registerGoToUrlAction; private goToUrl; private registerGoBackAction; private goBack; private registerWaitAction; private wait; private registerClickElementAction; private clickElement; private registerInputTextAction; private inputText; private registerUploadFileAction; private uploadFile; private registerSwitchTabAction; private switchTab; private registerCloseTabAction; private closeTab; private registerExtractStructuredDataAction; private registerScrollAction; private scroll; private registerSendKeysAction; private sendKeys; private registerScrollToTextAction; private scrollToText; private registerGetDropdownOptionsAction; private getDropdownOptions; private registerSelectDropdownOptionAction; private selectDropdownOption; private registerWriteFileAction; private registerReplaceFileStrAction; private registerReadFileAction; private registerDoneAction; useStructuredOutputAction(outputModel: z.ZodType): void; action(description: string, options?: Parameters['action']>[1]): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; act(action: any, // ActionModel - will be properly typed later browserSession: BrowserSession, options?: { pageExtractionLlm?: BaseChatModel; sensitiveData?: Record>; availableFilePaths?: string[]; fileSystem?: FileSystem; context?: Context; }): Promise; private extractStructuredData; private writeFile; private replaceFileStr; private readFile; private findFileInputNearElement; } //# sourceMappingURL=service.d.ts.map