import { BuilderBase } from "../core/builder-base.js"; /** * Configuration for the A2aAgentExecutor. */ export declare class A2aAgentExecutorConfig extends BuilderBase { constructor(); /** * Set the ``a2a_part_converter`` field. */ a2aPartConverter(value: (...args: unknown[]) => unknown): this; /** * Set the ``gen_ai_part_converter`` field. */ genAiPartConverter(value: (...args: unknown[]) => unknown): this; /** * Set the ``request_converter`` field. */ requestConverter(value: (...args: unknown[]) => unknown): this; /** * Set the ``event_converter`` field. */ eventConverter(value: (...args: unknown[]) => unknown): this; /** * Configuration for the A2aAgentExecutor. Resolve into a native ADK _ADK_A2aAgentExecutorConfig. */ build(): Record; } /** * The config for the YAML schema to create an agent. */ export declare class AgentConfig extends BuilderBase { constructor(root: string); /** * The config for the YAML schema to create an agent. Resolve into a native ADK _ADK_AgentConfig. */ build(): Record; } /** * The config for the YAML schema of a BaseAgent. */ export declare class BaseAgentConfig extends BuilderBase { constructor(name: string); /** * Set agent description (metadata for transfer routing and topology display — NOT sent to the LLM as instruction). Always set this on sub-agents so the coordinator LLM can pick the right specialist. */ describe(value: string): this; /** * Required. The class of the agent. The value is used to differentiate among different agent classes. */ agentClass(value: unknown): this; /** * Optional. The sub-agents of the agent. */ subAgents(value: unknown): this; /** * Optional. The before_agent_callbacks of the agent. * * Example: * * ``` * before_agent_callbacks: * - name: my_library.security_callbacks.before_agent_callback * ``` */ beforeAgentCallbacks(value: unknown): this; /** * Optional. The after_agent_callbacks of the agent. */ afterAgentCallbacks(value: unknown): this; /** * Append to ``sub_agents`` (lazy — built at .build() time). */ subAgent(value: unknown): this; /** * Append to ``before_agent_callbacks`` (lazy — built at .build() time). */ beforeAgentCallback(value: unknown): this; /** * Append to ``after_agent_callbacks`` (lazy — built at .build() time). */ afterAgentCallback(value: unknown): this; /** * The config for the YAML schema of a BaseAgent. Resolve into a native ADK _ADK_BaseAgentConfig. */ build(): Record; } /** * The config for the reference to another agent. */ export declare class AgentRefConfig extends BuilderBase { constructor(); /** * Set the ``config_path`` field. */ configPath(value: string | undefined): this; /** * Set the ``code`` field. */ code(value: string | undefined): this; /** * The config for the reference to another agent. Resolve into a native ADK _ADK_AgentRefConfig. */ build(): Record; } /** * An argument passed to a function or a class's constructor. */ export declare class ArgumentConfig extends BuilderBase { constructor(value: string); /** * Set the ``name`` field. */ name_(value: string | undefined): this; /** * An argument passed to a function or a class's constructor. Resolve into a native ADK _ADK_ArgumentConfig. */ build(): Record; } /** * Code reference config for a variable, a function, or a class. */ export declare class CodeConfig extends BuilderBase { constructor(name: string); /** * Set the ``args`` field. */ args(value: unknown): this; /** * Append to ``args`` (lazy — built at .build() time). */ arg(value: unknown): this; /** * Code reference config for a variable, a function, or a class. Resolve into a native ADK _ADK_CodeConfig. */ build(): Record; } /** * Configuration for context caching across all agents in an app. */ export declare class ContextCacheConfig extends BuilderBase { constructor(); /** * Maximum number of invocations to reuse the same cache before refreshing it */ cacheIntervals(value: number): this; /** * Time-to-live for cache in seconds */ ttlSeconds(value: number): this; /** * Minimum estimated request tokens required to enable caching. This compares against the estimated total tokens of the request (system instruction + tools + contents). Context cache storage may have cost. Set higher to avoid caching small requests where overhead may exceed benefits. */ minTokens(value: number): this; /** * Configuration for context caching across all agents in an app. Resolve into a native ADK _ADK_ContextCacheConfig. */ build(): Record; } /** * The config for the YAML schema of a LlmAgent. */ export declare class LlmAgentConfig extends BuilderBase { constructor(name: string, instruction: string); /** * Set agent description (metadata for transfer routing and topology display — NOT sent to the LLM as instruction). Always set this on sub-agents so the coordinator LLM can pick the right specialist. */ describe(value: string): this; /** * Optional. LlmAgent.include_contents. */ history(value: unknown): this; /** * Optional. LlmAgent.include_contents. */ includeHistory(value: unknown): this; /** * Required. LlmAgent.instruction. Dynamic instructions with placeholder support. Behavior: if static_instruction is None, goes to system_instruction; if static_instruction is set, goes to user content after static content. */ instruct(value: string): this; /** * Deprecated: use ``.writes(key)`` instead. Session state key where the agent's response text is stored. */ outputs(value: string | undefined): this; /** * Set cached instruction. When set, ``.instruct()`` text moves from system to user content, enabling context caching. Use for large, stable prompt sections that rarely change. */ static_(value: unknown): this; /** * Set cached instruction. When set, ``.instruct()`` text moves from system to user content, enabling context caching. Use for large, stable prompt sections that rarely change. */ staticInstruct(value: unknown): this; /** * The value is used to uniquely identify the LlmAgent class. If it is empty, it is by default an LlmAgent. */ agentClass(value: string): this; /** * Optional. The sub-agents of the agent. */ subAgents(value: unknown): this; /** * Optional. The before_agent_callbacks of the agent. * * Example: * * ``` * before_agent_callbacks: * - name: my_library.security_callbacks.before_agent_callback * ``` */ beforeAgentCallbacks(value: unknown): this; /** * Optional. The after_agent_callbacks of the agent. */ afterAgentCallbacks(value: unknown): this; /** * Optional. LlmAgent.model. Provide a model name string (e.g. "gemini-2.0-flash"). If not set, the model will be inherited from the ancestor or fall back to the system default (gemini-2.5-flash unless overridden via LlmAgent.set_default_model). To construct a model instance from code, use model_code. */ model(value: string | undefined): this; /** * Optional. A CodeConfig that instantiates a BaseLlm implementation such as LiteLlm with custom arguments (API base, fallbacks, etc.). Cannot be set together with `model`. */ modelCode(value: unknown | undefined): this; /** * Prevent this agent from transferring control back to its parent. Also forces an auto-handoff back to parent on the next turn. Equivalent to ``.stay()``. See also ``.isolate()``. */ disallowTransferToParent(value: boolean | undefined): this; /** * Prevent this agent from transferring control to sibling agents. Equivalent to ``.no_peers()``. See also ``.isolate()``. */ disallowTransferToPeers(value: boolean | undefined): this; /** * Schema defining the expected input structure when this agent is invoked as a tool by another agent. * * When another agent invokes this agent via ``AgentTool``, the calling * agent's arguments are validated against this Pydantic model. Irrelevant * for top-level agents — only for agents that serve as tools. * * .. note:: * * Prefer ``.accepts(Model)`` over this method for clarity. * ``.accepts()`` is the recommended alias on BuilderBase. * * - ``.accepts(Model)`` → tool-mode input validation (same as this, HAS runtime effect) * - ``.consumes(Model)`` → contract annotation (NO runtime effect) */ inputSchema(value: unknown | undefined): this; /** * Force the LLM to respond with structured JSON matching a Pydantic model. * * When set, the agent replies **only** with JSON data conforming to * this schema. The agent **cannot use tools** while ``output_schema`` * is active. * * .. note:: * * Prefer ``.returns(Model)`` or ``@ Model`` over this method. * ``.returns()`` sets the same ADK constraint AND automatically * parses the response in ``.ask()`` calls. This method sets the * raw ADK field without automatic parsing. * * - ``.returns(Model)`` / ``@ Model`` → LLM constraint + parsing (HAS runtime effect) * - ``.output_schema(Model)`` → LLM constraint only (raw field) * - ``.writes(key)`` → stores text in state (no format constraint) * - ``.produces(Model)`` → contract annotation (NO runtime effect) */ outputSchema(value: unknown | undefined): this; /** * Optional. LlmAgent.tools. * * Examples: * * For ADK built-in tools in `google.adk.tools` package, they can be referenced * directly with the name: * * ``` * tools: * - name: google_search * - name: load_memory * ``` * * For user-defined tools, they can be referenced with fully qualified name: * * ``` * tools: * - name: my_library.my_tools.my_tool * ``` * * For tools that needs to be created via functions: * * ``` * tools: * - name: my_library.my_tools.create_tool * args: * - name: param1 * value: value1 * - name: param2 * value: value2 * ``` * * For more advanced tools, instead of specifying arguments in config, it's * recommended to define them in Python files and reference them. E.g., * * ``` * # tools.py * my_mcp_toolset = McpToolset( * connection_params=StdioServerParameters( * command="npx", * args=["-y", "@notionhq/notion-mcp-server"], * env={"OPENAPI_MCP_HEADERS": NOTION_HEADERS}, * ) * ) * ``` * * Then, reference the toolset in config: * * ``` * tools: * - name: tools.my_mcp_toolset * ``` */ tools(value: unknown): this; /** * Optional. LlmAgent.before_model_callbacks. * * Example: * * ``` * before_model_callbacks: * - name: my_library.callbacks.before_model_callback * ``` */ beforeModelCallbacks(value: unknown): this; /** * Optional. LlmAgent.after_model_callbacks. */ afterModelCallbacks(value: unknown): this; /** * Optional. LlmAgent.before_tool_callbacks. */ beforeToolCallbacks(value: unknown): this; /** * Optional. LlmAgent.after_tool_callbacks. */ afterToolCallbacks(value: unknown): this; /** * Optional. LlmAgent.generate_content_config. */ generateContentConfig(value: unknown | undefined): this; /** * Append to ``sub_agents`` (lazy — built at .build() time). */ subAgent(value: unknown): this; /** * Append to ``before_agent_callbacks`` (lazy — built at .build() time). */ beforeAgentCallback(value: unknown): this; /** * Append to ``after_agent_callbacks`` (lazy — built at .build() time). */ afterAgentCallback(value: unknown): this; /** * Append to ``tools`` (lazy — built at .build() time). */ tool(value: unknown): this; /** * Append to ``before_model_callbacks`` (lazy — built at .build() time). */ beforeModelCallback(value: unknown): this; /** * Append to ``after_model_callbacks`` (lazy — built at .build() time). */ afterModelCallback(value: unknown): this; /** * Append to ``before_tool_callbacks`` (lazy — built at .build() time). */ beforeToolCallback(value: unknown): this; /** * Append to ``after_tool_callbacks`` (lazy — built at .build() time). */ afterToolCallback(value: unknown): this; /** * The config for the YAML schema of a LlmAgent. Resolve into a native ADK _ADK_LlmAgentConfig. */ build(): Record; } /** * The config for the YAML schema of a LoopAgent. */ export declare class LoopAgentConfig extends BuilderBase { constructor(name: string); /** * Set agent description (metadata for transfer routing and topology display — NOT sent to the LLM as instruction). Always set this on sub-agents so the coordinator LLM can pick the right specialist. */ describe(value: string): this; /** * The value is used to uniquely identify the LoopAgent class. */ agentClass(value: string): this; /** * Optional. The sub-agents of the agent. */ subAgents(value: unknown): this; /** * Optional. The before_agent_callbacks of the agent. * * Example: * * ``` * before_agent_callbacks: * - name: my_library.security_callbacks.before_agent_callback * ``` */ beforeAgentCallbacks(value: unknown): this; /** * Optional. The after_agent_callbacks of the agent. */ afterAgentCallbacks(value: unknown): this; /** * Optional. LoopAgent.max_iterations. */ maxIterations(value: number | undefined): this; /** * Append to ``sub_agents`` (lazy — built at .build() time). */ subAgent(value: unknown): this; /** * Append to ``before_agent_callbacks`` (lazy — built at .build() time). */ beforeAgentCallback(value: unknown): this; /** * Append to ``after_agent_callbacks`` (lazy — built at .build() time). */ afterAgentCallback(value: unknown): this; /** * The config for the YAML schema of a LoopAgent. Resolve into a native ADK _ADK_LoopAgentConfig. */ build(): Record; } /** * The config for the YAML schema of a ParallelAgent. */ export declare class ParallelAgentConfig extends BuilderBase { constructor(name: string); /** * Set agent description (metadata for transfer routing and topology display — NOT sent to the LLM as instruction). Always set this on sub-agents so the coordinator LLM can pick the right specialist. */ describe(value: string): this; /** * The value is used to uniquely identify the ParallelAgent class. */ agentClass(value: string): this; /** * Optional. The sub-agents of the agent. */ subAgents(value: unknown): this; /** * Optional. The before_agent_callbacks of the agent. * * Example: * * ``` * before_agent_callbacks: * - name: my_library.security_callbacks.before_agent_callback * ``` */ beforeAgentCallbacks(value: unknown): this; /** * Optional. The after_agent_callbacks of the agent. */ afterAgentCallbacks(value: unknown): this; /** * Append to ``sub_agents`` (lazy — built at .build() time). */ subAgent(value: unknown): this; /** * Append to ``before_agent_callbacks`` (lazy — built at .build() time). */ beforeAgentCallback(value: unknown): this; /** * Append to ``after_agent_callbacks`` (lazy — built at .build() time). */ afterAgentCallback(value: unknown): this; /** * The config for the YAML schema of a ParallelAgent. Resolve into a native ADK _ADK_ParallelAgentConfig. */ build(): Record; } /** * Configs for runtime behavior of agents. */ export declare class RunConfig extends BuilderBase { constructor(); /** * Set the `input_audio_transcription` field. */ inputAudioTranscribe(value: unknown | undefined): this; /** * Set the `output_audio_transcription` field. */ outputAudioTranscribe(value: unknown | undefined): this; /** * Set the ``speech_config`` field. */ speechConfig(value: unknown | undefined): this; /** * Set the ``response_modalities`` field. */ responseModalities(value: unknown): this; /** * Whether or not to save the input blobs as artifacts. DEPRECATED: Use SaveFilesAsArtifactsPlugin instead for better control and flexibility. See google.adk.plugins.SaveFilesAsArtifactsPlugin. */ saveInputBlobsAsArtifacts(value: boolean): this; /** * Set the ``support_cfc`` field. */ supportCfc(value: boolean): this; /** * Set the ``streaming_mode`` field. */ streamingMode(value: unknown): this; /** * Set the ``realtime_input_config`` field. */ realtimeInputConfig(value: unknown | undefined): this; /** * Set the ``enable_affective_dialog`` field. */ enableAffectiveDialog(value: boolean | undefined): this; /** * Set the ``proactivity`` field. */ proactivity(value: unknown | undefined): this; /** * Set the ``session_resumption`` field. */ sessionResumption(value: unknown | undefined): this; /** * Set the ``context_window_compression`` field. */ contextWindowCompression(value: unknown | undefined): this; /** * Set the ``save_live_blob`` field. */ saveLiveBlob(value: boolean): this; /** * Set the ``tool_thread_pool_config`` field. */ toolThreadPoolConfig(value: unknown | undefined): this; /** * DEPRECATED: Use save_live_blob instead. If set to True, it saves live video and audio data to session and artifact service. */ saveLiveAudio(value: boolean): this; /** * Set the ``max_llm_calls`` field. */ maxLlmCalls(value: number): this; /** * Set the ``custom_metadata`` field. */ customMetadata(value: unknown): this; /** * Configs for runtime behavior of agents. Resolve into a native ADK _ADK_RunConfig. */ build(): Record; } /** * Configuration for the tool thread pool executor. */ export declare class ToolThreadPoolConfig extends BuilderBase { constructor(); /** * Maximum number of worker threads in the pool. */ maxWorkers(value: number): this; /** * Configuration for the tool thread pool executor. Resolve into a native ADK _ADK_ToolThreadPoolConfig. */ build(): Record; } /** * The config for the YAML schema of a SequentialAgent. */ export declare class SequentialAgentConfig extends BuilderBase { constructor(name: string); /** * Set agent description (metadata for transfer routing and topology display — NOT sent to the LLM as instruction). Always set this on sub-agents so the coordinator LLM can pick the right specialist. */ describe(value: string): this; /** * The value is used to uniquely identify the SequentialAgent class. */ agentClass(value: string): this; /** * Optional. The sub-agents of the agent. */ subAgents(value: unknown): this; /** * Optional. The before_agent_callbacks of the agent. * * Example: * * ``` * before_agent_callbacks: * - name: my_library.security_callbacks.before_agent_callback * ``` */ beforeAgentCallbacks(value: unknown): this; /** * Optional. The after_agent_callbacks of the agent. */ afterAgentCallbacks(value: unknown): this; /** * Append to ``sub_agents`` (lazy — built at .build() time). */ subAgent(value: unknown): this; /** * Append to ``before_agent_callbacks`` (lazy — built at .build() time). */ beforeAgentCallback(value: unknown): this; /** * Append to ``after_agent_callbacks`` (lazy — built at .build() time). */ afterAgentCallback(value: unknown): this; /** * The config for the YAML schema of a SequentialAgent. Resolve into a native ADK _ADK_SequentialAgentConfig. */ build(): Record; } /** * The config of event compaction for an application. */ export declare class EventsCompactionConfig extends BuilderBase { constructor(compaction_interval: string, overlap_size: string); /** * Set the ``summarizer`` field. */ summarizer(value: unknown | undefined): this; /** * Set the ``token_threshold`` field. */ tokenThreshold(value: number | undefined): this; /** * Set the ``event_retention_size`` field. */ eventRetentionSize(value: number | undefined): this; /** * The config of event compaction for an application. Resolve into a native ADK _ADK_EventsCompactionConfig. */ build(): Record; } /** * The config of the resumability for an application. */ export declare class ResumabilityConfig extends BuilderBase { constructor(); /** * Set the ``is_resumable`` field. */ isResumable(value: boolean): this; /** * The config of the resumability for an application. Resolve into a native ADK _ADK_ResumabilityConfig. */ build(): Record; } /** * Feature configuration. */ export declare class FeatureConfig extends BuilderBase { constructor(stage: string); /** * Set the ``default_on`` field. */ defaultOn(value: boolean): this; /** * Feature configuration. Resolve into a native ADK _ADK_FeatureConfig. */ build(): Record; } /** * Configuration for audio caching behavior. */ export declare class AudioCacheConfig extends BuilderBase { constructor(); /** * Set the ``max_cache_size_bytes`` field. */ maxCacheSizeBytes(value: number): this; /** * Set the ``max_cache_duration_seconds`` field. */ maxCacheDurationSeconds(value: number): this; /** * Set the ``auto_flush_threshold`` field. */ autoFlushThreshold(value: number): this; /** * Configuration for audio caching behavior. Resolve into a native ADK _ADK_AudioCacheConfig. */ build(): Record; } /** * Configuration for the IterativePromptOptimizer. */ export declare class SimplePromptOptimizerConfig extends BuilderBase { constructor(); /** * The configuration for the optimizer model. */ modelConfigure(value: unknown): this; /** * The model used to analyze the eval results and optimize the agent. */ optimizerModel(value: string): this; /** * The number of optimization rounds to run. */ numIterations(value: number): this; /** * The number of training examples to use for scoring each candidate. */ batchSize(value: number): this; /** * Configuration for the IterativePromptOptimizer. Resolve into a native ADK _ADK_SimplePromptOptimizerConfig. */ build(): Record; } /** * Configuration for the BigQueryAgentAnalyticsPlugin. */ export declare class BigQueryLoggerConfig extends BuilderBase { constructor(); /** * Set the ``enabled`` field. */ enabled(value: boolean): this; /** * Set the ``event_allowlist`` field. */ eventAllowlist(value: unknown): this; /** * Set the ``event_denylist`` field. */ eventDenylist(value: unknown): this; /** * Set the ``max_content_length`` field. */ maxContentLength(value: number): this; /** * Set the ``table_id`` field. */ tableId(value: string): this; /** * Set the ``clustering_fields`` field. */ clusteringFields(value: unknown[]): this; /** * Set the ``log_multi_modal_content`` field. */ logMultiModalContent(value: boolean): this; /** * Set the ``retry_config`` field. */ retryConfig(value: unknown): this; /** * Set the ``batch_size`` field. */ batchSize(value: number): this; /** * Set the ``batch_flush_interval`` field. */ batchFlushInterval(value: number): this; /** * Set the ``shutdown_timeout`` field. */ shutdownTimeout(value: number): this; /** * Set the ``queue_max_size`` field. */ queueMaxSize(value: number): this; /** * Set the ``content_formatter`` field. */ contentFormatter(value: (...args: unknown[]) => unknown): this; /** * Set the ``gcs_bucket_name`` field. */ gcsBucketName(value: string | undefined): this; /** * Set the ``connection_id`` field. */ connectionId(value: string | undefined): this; /** * Set the ``log_session_metadata`` field. */ logSessionMetadata(value: boolean): this; /** * Set the ``custom_tags`` field. */ customTags(value: Record): this; /** * Configuration for the BigQueryAgentAnalyticsPlugin. Resolve into a native ADK _ADK_BigQueryLoggerConfig. */ build(): Record; } /** * Configuration for retrying failed BigQuery write operations. */ export declare class RetryConfig extends BuilderBase { constructor(); /** * Set the ``max_retries`` field. */ maxRetries(value: number): this; /** * Set the ``initial_delay`` field. */ initialDelay(value: number): this; /** * Set the ``multiplier`` field. */ multiplier(value: number): this; /** * Set the ``max_delay`` field. */ maxDelay(value: number): this; /** * Configuration for retrying failed BigQuery write operations. Resolve into a native ADK _ADK_RetryConfig. */ build(): Record; } /** * The configuration of getting a session. */ export declare class GetSessionConfig extends BuilderBase { constructor(); /** * Set the ``num_recent_events`` field. */ numRecentEvents(value: number | undefined): this; /** * Set the ``after_timestamp`` field. */ afterTimestamp(value: number | undefined): this; /** * The configuration of getting a session. Resolve into a native ADK _ADK_GetSessionConfig. */ build(): Record; } /** * Base Google Credentials Configuration for Google API tools (Experimental). */ export declare class BaseGoogleCredentialsConfig extends BuilderBase { constructor(); /** * Set the ``credentials`` field. */ credentials(value: unknown | undefined): this; /** * Set the ``external_access_token_key`` field. */ externalAccessTokenKey(value: string | undefined): this; /** * Set the ``client_id`` field. */ clientId(value: string | undefined): this; /** * Set the ``client_secret`` field. */ clientSecret(value: string | undefined): this; /** * Set the ``scopes`` field. */ scopes(value: unknown): this; /** * Base Google Credentials Configuration for Google API tools (Experimental). Resolve into a native ADK _ADK_BaseGoogleCredentialsConfig. */ build(): Record; } /** * Configuration for AgentSimulator. */ export declare class AgentSimulatorConfig extends BuilderBase { constructor(); /** * Set the `simulation_model_configuration` field. */ simulationModelConfigure(value: unknown): this; /** * Set the ``tool_simulation_configs`` field. */ toolSimulationConfigs(value: unknown[]): this; /** * Set the ``simulation_model`` field. */ simulationModel(value: string): this; /** * Set the ``tracing_path`` field. */ tracingPath(value: string | undefined): this; /** * Set the ``environment_data`` field. */ environmentData(value: string | undefined): this; /** * Append to ``tool_simulation_configs`` (lazy — built at .build() time). */ toolSimulationConfig(value: unknown): this; /** * Configuration for AgentSimulator. Resolve into a native ADK _ADK_AgentSimulatorConfig. */ build(): Record; } /** * Injection configuration for a tool. */ export declare class InjectionConfig extends BuilderBase { constructor(); /** * Set the ``injection_probability`` field. */ injectionProbability(value: number): this; /** * Set the ``match_args`` field. */ matchArgs(value: unknown): this; /** * Set the ``injected_latency_seconds`` field. */ injectedLatencySeconds(value: number): this; /** * Set the ``random_seed`` field. */ randomSeed(value: number | undefined): this; /** * Set the ``injected_error`` field. */ injectedError(value: unknown | undefined): this; /** * Set the ``injected_response`` field. */ injectedResponse(value: unknown): this; /** * Injection configuration for a tool. Resolve into a native ADK _ADK_InjectionConfig. */ build(): Record; } /** * Simulation configuration for a single tool. */ export declare class ToolSimulationConfig extends BuilderBase { constructor(tool_name: string); /** * Set the ``injection_configs`` field. */ injectionConfigs(value: unknown[]): this; /** * Set the ``mock_strategy_type`` field. */ mockStrategyType(value: unknown): this; /** * Append to ``injection_configs`` (lazy — built at .build() time). */ injectionConfig(value: unknown): this; /** * Simulation configuration for a single tool. Resolve into a native ADK _ADK_ToolSimulationConfig. */ build(): Record; } /** * The config for the AgentTool. */ export declare class AgentToolConfig extends BuilderBase { constructor(agent: string); /** * Set the `skip_summarization` field. */ skipSummarizate(value: boolean): this; /** * Set the ``include_plugins`` field. */ includePlugins(value: boolean): this; /** * The config for the AgentTool. Resolve into a native ADK _ADK_AgentToolConfig. */ build(): Record; } /** * BigQuery Credentials Configuration for Google API tools (Experimental). */ export declare class BigQueryCredentialsConfig extends BuilderBase { constructor(); /** * Set the ``credentials`` field. */ credentials(value: unknown | undefined): this; /** * Set the ``external_access_token_key`` field. */ externalAccessTokenKey(value: string | undefined): this; /** * Set the ``client_id`` field. */ clientId(value: string | undefined): this; /** * Set the ``client_secret`` field. */ clientSecret(value: string | undefined): this; /** * Set the ``scopes`` field. */ scopes(value: unknown): this; /** * BigQuery Credentials Configuration for Google API tools (Experimental). Resolve into a native ADK _ADK_BigQueryCredentialsConfig. */ build(): Record; } /** * Configuration for BigQuery tools. */ export declare class BigQueryToolConfig extends BuilderBase { constructor(); /** * Set the `location` field. */ locate(value: string | undefined): this; /** * Set the ``write_mode`` field. */ writeMode(value: unknown): this; /** * Set the ``maximum_bytes_billed`` field. */ maximumBytesBilled(value: number | undefined): this; /** * Set the ``max_query_result_rows`` field. */ maxQueryResultRows(value: number): this; /** * Set the ``application_name`` field. */ applicationName(value: string | undefined): this; /** * Set the ``compute_project_id`` field. */ computeProjectId(value: string | undefined): this; /** * Set the ``job_labels`` field. */ jobLabels(value: unknown): this; /** * Configuration for BigQuery tools. Resolve into a native ADK _ADK_BigQueryToolConfig. */ build(): Record; } /** * Bigtable Credentials Configuration for Google API tools (Experimental). */ export declare class BigtableCredentialsConfig extends BuilderBase { constructor(); /** * Set the ``credentials`` field. */ credentials(value: unknown | undefined): this; /** * Set the ``external_access_token_key`` field. */ externalAccessTokenKey(value: string | undefined): this; /** * Set the ``client_id`` field. */ clientId(value: string | undefined): this; /** * Set the ``client_secret`` field. */ clientSecret(value: string | undefined): this; /** * Set the ``scopes`` field. */ scopes(value: unknown): this; /** * Bigtable Credentials Configuration for Google API tools (Experimental). Resolve into a native ADK _ADK_BigtableCredentialsConfig. */ build(): Record; } /** * Configuration for Data Agent tools. */ export declare class DataAgentToolConfig extends BuilderBase { constructor(); /** * Set the ``max_query_result_rows`` field. */ maxQueryResultRows(value: number): this; /** * Configuration for Data Agent tools. Resolve into a native ADK _ADK_DataAgentToolConfig. */ build(): Record; } /** * Data Agent Credentials Configuration for Google API tools. */ export declare class DataAgentCredentialsConfig extends BuilderBase { constructor(); /** * Set the ``credentials`` field. */ credentials(value: unknown | undefined): this; /** * Set the ``external_access_token_key`` field. */ externalAccessTokenKey(value: string | undefined): this; /** * Set the ``client_id`` field. */ clientId(value: string | undefined): this; /** * Set the ``client_secret`` field. */ clientSecret(value: string | undefined): this; /** * Set the ``scopes`` field. */ scopes(value: unknown): this; /** * Data Agent Credentials Configuration for Google API tools. Resolve into a native ADK _ADK_DataAgentCredentialsConfig. */ build(): Record; } /** * Fluent builder for ExampleToolConfig. */ export declare class ExampleToolConfig extends BuilderBase { constructor(examples: string); /** * Fluent builder for ExampleToolConfig. Resolve into a native ADK _ADK_ExampleToolConfig. */ build(): Record; } /** * The config for McpToolset. */ export declare class McpToolsetConfig extends BuilderBase { constructor(); /** * Set the ``stdio_server_params`` field. */ stdioServerParams(value: unknown | undefined): this; /** * Set the ``stdio_connection_params`` field. */ stdioConnectionParams(value: unknown | undefined): this; /** * Set the ``sse_connection_params`` field. */ sseConnectionParams(value: unknown | undefined): this; /** * Set the ``streamable_http_connection_params`` field. */ streamableHttpConnectionParams(value: unknown | undefined): this; /** * Set the ``tool_filter`` field. */ toolFilter(value: unknown): this; /** * Set the ``tool_name_prefix`` field. */ toolNamePrefix(value: string | undefined): this; /** * Set the ``auth_scheme`` field. */ authScheme(value: unknown | unknown | unknown | unknown | unknown | unknown | undefined): this; /** * Set the ``auth_credential`` field. */ authCredential(value: unknown | undefined): this; /** * Set the ``use_mcp_resources`` field. */ useMcpResources(value: boolean): this; /** * The config for McpToolset. Resolve into a native ADK _ADK_McpToolsetConfig. */ build(): Record; } /** * Configuration for Pub/Sub tools. */ export declare class PubSubToolConfig extends BuilderBase { constructor(); /** * Set the ``project_id`` field. */ projectId(value: string | undefined): this; /** * Configuration for Pub/Sub tools. Resolve into a native ADK _ADK_PubSubToolConfig. */ build(): Record; } /** * Pub/Sub Credentials Configuration for Google API tools (Experimental). */ export declare class PubSubCredentialsConfig extends BuilderBase { constructor(); /** * Set the ``credentials`` field. */ credentials(value: unknown | undefined): this; /** * Set the ``external_access_token_key`` field. */ externalAccessTokenKey(value: string | undefined): this; /** * Set the ``client_id`` field. */ clientId(value: string | undefined): this; /** * Set the ``client_secret`` field. */ clientSecret(value: string | undefined): this; /** * Set the ``scopes`` field. */ scopes(value: unknown): this; /** * Pub/Sub Credentials Configuration for Google API tools (Experimental). Resolve into a native ADK _ADK_PubSubCredentialsConfig. */ build(): Record; } /** * Spanner Credentials Configuration for Google API tools (Experimental). */ export declare class SpannerCredentialsConfig extends BuilderBase { constructor(); /** * Set the ``credentials`` field. */ credentials(value: unknown | undefined): this; /** * Set the ``external_access_token_key`` field. */ externalAccessTokenKey(value: string | undefined): this; /** * Set the ``client_id`` field. */ clientId(value: string | undefined): this; /** * Set the ``client_secret`` field. */ clientSecret(value: string | undefined): this; /** * Set the ``scopes`` field. */ scopes(value: unknown): this; /** * Spanner Credentials Configuration for Google API tools (Experimental). Resolve into a native ADK _ADK_SpannerCredentialsConfig. */ build(): Record; } /** * The base class for all tool configs. */ export declare class BaseToolConfig extends BuilderBase { constructor(); /** * The base class for all tool configs. Resolve into a native ADK _ADK_BaseToolConfig. */ build(): Record; } /** * Config to host free key-value pairs for the args in ToolConfig. */ export declare class ToolArgsConfig extends BuilderBase { constructor(); /** * Config to host free key-value pairs for the args in ToolConfig. Resolve into a native ADK _ADK_ToolArgsConfig. */ build(): Record; } /** * The configuration for a tool. */ export declare class ToolConfig extends BuilderBase { constructor(name: string); /** * The args for the tool. */ args(value: unknown | undefined): this; /** * The configuration for a tool. Resolve into a native ADK _ADK_ToolConfig. */ build(): Record; } //# sourceMappingURL=config.d.ts.map