import { BuilderBase } from "../core/builder-base.js"; /** * An AgentExecutor that runs an ADK Agent against an A2A request and. */ export declare class A2aAgentExecutor extends BuilderBase { constructor(runner: string); /** * Set the ``config`` field. */ config(value: unknown | undefined): this; /** * An AgentExecutor that runs an ADK Agent against an A2A request and. Resolve into a native ADK _ADK_A2aAgentExecutor. */ build(): Record; } /** * A code executor that uses Agent Engine Code Execution Sandbox to execute code. */ export declare class AgentEngineSandboxCodeExecutor extends BuilderBase { constructor(); /** * Set the ``optimize_data_file`` field. */ optimizeDataFile(value: boolean): this; /** * Set the ``stateful`` field. */ stateful(value: boolean): this; /** * Set the ``error_retry_attempts`` field. */ errorRetryAttempts(value: number): this; /** * Set the ``code_block_delimiters`` field. */ codeBlockDelimiters(value: unknown): this; /** * Set the ``execution_result_delimiters`` field. */ executionResultDelimiters(value: unknown[]): this; /** * Set the ``sandbox_resource_name`` field. */ sandboxResourceName(value: string): this; /** * Append to ``code_block_delimiters`` (lazy — built at .build() time). */ codeBlockDelimiter(value: unknown[]): this; /** * A code executor that uses Agent Engine Code Execution Sandbox to execute code. Resolve into a native ADK _ADK_AgentEngineSandboxCodeExecutor. */ build(): Record; } /** * Abstract base class for all code executors. */ export declare class BaseCodeExecutor extends BuilderBase { constructor(); /** * Set the ``optimize_data_file`` field. */ optimizeDataFile(value: boolean): this; /** * Set the ``stateful`` field. */ stateful(value: boolean): this; /** * Set the ``error_retry_attempts`` field. */ errorRetryAttempts(value: number): this; /** * Set the ``code_block_delimiters`` field. */ codeBlockDelimiters(value: unknown): this; /** * Set the ``execution_result_delimiters`` field. */ executionResultDelimiters(value: unknown[]): this; /** * Append to ``code_block_delimiters`` (lazy — built at .build() time). */ codeBlockDelimiter(value: unknown[]): this; /** * Abstract base class for all code executors. Resolve into a native ADK _ADK_BaseCodeExecutor. */ build(): Record; } /** * A code executor that uses the Model's built-in code executor. */ export declare class BuiltInCodeExecutor extends BuilderBase { constructor(); /** * Set the ``optimize_data_file`` field. */ optimizeDataFile(value: boolean): this; /** * Set the ``stateful`` field. */ stateful(value: boolean): this; /** * Set the ``error_retry_attempts`` field. */ errorRetryAttempts(value: number): this; /** * Set the ``code_block_delimiters`` field. */ codeBlockDelimiters(value: unknown): this; /** * Set the ``execution_result_delimiters`` field. */ executionResultDelimiters(value: unknown[]): this; /** * Append to ``code_block_delimiters`` (lazy — built at .build() time). */ codeBlockDelimiter(value: unknown[]): this; /** * A code executor that uses the Model's built-in code executor. Resolve into a native ADK _ADK_BuiltInCodeExecutor. */ build(): Record; } /** * A code executor that unsafely execute code in the current local context. */ export declare class UnsafeLocalCodeExecutor extends BuilderBase { constructor(); /** * Set the ``optimize_data_file`` field. */ optimizeDataFile(value: boolean): this; /** * Set the ``stateful`` field. */ stateful(value: boolean): this; /** * Set the ``error_retry_attempts`` field. */ errorRetryAttempts(value: number): this; /** * Set the ``code_block_delimiters`` field. */ codeBlockDelimiters(value: unknown): this; /** * Set the ``execution_result_delimiters`` field. */ executionResultDelimiters(value: unknown[]): this; /** * Append to ``code_block_delimiters`` (lazy — built at .build() time). */ codeBlockDelimiter(value: unknown[]): this; /** * A code executor that unsafely execute code in the current local context. Resolve into a native ADK _ADK_UnsafeLocalCodeExecutor. */ build(): Record; } /** * A code executor that uses Vertex Code Interpreter Extension to execute code. */ export declare class VertexAiCodeExecutor extends BuilderBase { constructor(); /** * Set the ``optimize_data_file`` field. */ optimizeDataFile(value: unknown): this; /** * Set the ``stateful`` field. */ stateful(value: unknown): this; /** * Set the ``error_retry_attempts`` field. */ errorRetryAttempts(value: unknown): this; /** * Set the ``code_block_delimiters`` field. */ codeBlockDelimiters(value: unknown): this; /** * Set the ``execution_result_delimiters`` field. */ executionResultDelimiters(value: unknown): this; /** * Set the ``resource_name`` field. */ resourceName(value: unknown): this; /** * A code executor that uses Vertex Code Interpreter Extension to execute code. Resolve into a native ADK _ADK_VertexAiCodeExecutor. */ build(): Record; } //# sourceMappingURL=executor.d.ts.map