@google/genai 2.5.0 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/web/web.d.ts CHANGED
@@ -875,6 +875,32 @@ export declare interface AutomaticFunctionCallingConfig {
875
875
  ignoreCallHistory?: boolean;
876
876
  }
877
877
 
878
+ /** Autorater config used for evaluation. */
879
+ export declare interface AutoraterConfig {
880
+ /** Number of samples for each instance in the dataset.
881
+ If not specified, the default is 4. Minimum value is 1, maximum value
882
+ is 32. */
883
+ samplingCount?: number;
884
+ /** Optional. Default is true. Whether to flip the candidate and baseline
885
+ responses. This is only applicable to the pairwise metric. If enabled, also
886
+ provide PairwiseMetricSpec.candidate_response_field_name and
887
+ PairwiseMetricSpec.baseline_response_field_name. When rendering
888
+ PairwiseMetricSpec.metric_prompt_template, the candidate and baseline
889
+ fields will be flipped for half of the samples to reduce bias. */
890
+ flipEnabled?: boolean;
891
+ /** The fully qualified name of the publisher model or tuned autorater
892
+ endpoint to use.
893
+
894
+ Publisher model format:
895
+ `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`
896
+
897
+ Tuned model endpoint format:
898
+ `projects/{project}/locations/{location}/endpoints/{endpoint}` */
899
+ autoraterModel?: string;
900
+ /** Configuration options for model generation and outputs. */
901
+ generationConfig?: GenerationConfig;
902
+ }
903
+
878
904
  /** Configures the avatar to be used in the session. */
879
905
  export declare interface AvatarConfig {
880
906
  /** Pre-built avatar id. */
@@ -2079,15 +2105,13 @@ declare namespace CodeExecutionCallStep {
2079
2105
  }
2080
2106
  }
2081
2107
 
2082
- /** Result of executing the `ExecutableCode`.
2083
-
2084
- Generated only when the `CodeExecution` tool is used. */
2108
+ /** Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used. */
2085
2109
  export declare interface CodeExecutionResult {
2086
2110
  /** Required. Outcome of the code execution. */
2087
2111
  outcome?: Outcome;
2088
2112
  /** Optional. Contains stdout when code execution is successful, stderr or other description otherwise. */
2089
2113
  output?: string;
2090
- /** The identifier of the `ExecutableCode` part this result is for. Only populated if the corresponding `ExecutableCode` has an id. */
2114
+ /** Optional. The identifier of the `ExecutableCode` part this result is for. Only populated if the corresponding `ExecutableCode` has an id. This field is not supported in Vertex AI. */
2091
2115
  id?: string;
2092
2116
  }
2093
2117
 
@@ -2126,6 +2150,18 @@ export declare interface CompletionStats {
2126
2150
  successfulForecastPointCount?: string;
2127
2151
  }
2128
2152
 
2153
+ /** Composite reinforcement tuning reward config. */
2154
+ export declare interface CompositeReinforcementTuningRewardConfig {
2155
+ weightedRewardConfigs?: CompositeReinforcementTuningRewardConfigWeightedRewardConfig[];
2156
+ }
2157
+
2158
+ /** Composite reinforcement tuning reward config weighted reward config. */
2159
+ export declare interface CompositeReinforcementTuningRewardConfigWeightedRewardConfig {
2160
+ rewardConfig?: SingleReinforcementTuningRewardConfig;
2161
+ /** How much this single reward contributes to the total overall reward. */
2162
+ weight?: number;
2163
+ }
2164
+
2129
2165
  /** Tool to support computer use. */
2130
2166
  export declare interface ComputerUse {
2131
2167
  /** Required. The environment being operated. */
@@ -2136,6 +2172,9 @@ export declare interface ComputerUse {
2136
2172
  1. Using a more restricted / different action space.
2137
2173
  2. Improving the definitions / instructions of predefined functions. */
2138
2174
  excludedPredefinedFunctions?: string[];
2175
+ /** Optional. Whether enable the prompt injection detection check on computer-use request.
2176
+ */
2177
+ enablePromptInjectionDetection?: boolean;
2139
2178
  }
2140
2179
 
2141
2180
  /** Optional parameters for computing tokens. */
@@ -2671,7 +2710,7 @@ export declare interface CreateTuningJobConfig {
2671
2710
  be charged usage for any applicable operations.
2672
2711
  */
2673
2712
  abortSignal?: AbortSignal;
2674
- /** The method to use for tuning (SUPERVISED_FINE_TUNING or PREFERENCE_TUNING or DISTILLATION). If not set, the default method (SFT) will be used. */
2713
+ /** The method to use for tuning (SUPERVISED_FINE_TUNING or PREFERENCE_TUNING or DISTILLATION or REINFORCEMENT_TUNING). If not set, the default method (SFT) will be used. */
2675
2714
  method?: TuningMethod;
2676
2715
  /** Validation dataset for tuning. The dataset must be formatted as a JSONL file. */
2677
2716
  validationDataset?: TuningValidationDataset;
@@ -2711,6 +2750,18 @@ export declare interface CreateTuningJobConfig {
2711
2750
  outputUri?: string;
2712
2751
  /** The encryption spec of the tuning job. Customer-managed encryption key options for a TuningJob. If this is set, then all resources created by the TuningJob will be encrypted with provided encryption key. */
2713
2752
  encryptionSpec?: EncryptionSpec;
2753
+ /** Reward function configuration for reinforcement tuning. Reinforcement tuning only. */
2754
+ rewardConfig?: SingleReinforcementTuningRewardConfig;
2755
+ /** Composite reward function configuration for reinforcement tuning. Reinforcement tuning only. */
2756
+ compositeRewardConfig?: CompositeReinforcementTuningRewardConfig;
2757
+ /** Number of different responses to generate per prompt during tuning. Reinforcement tuning only. */
2758
+ samplesPerPrompt?: number;
2759
+ /** How often at steps to evaluate the tuning job during training. Reinforcement tuning only. */
2760
+ evaluateInterval?: number;
2761
+ /** How often at steps to save checkpoints during training. Reinforcement tuning only. */
2762
+ checkpointInterval?: number;
2763
+ /** The maximum number of tokens to generate per prompt. Reinforcement tuning only. */
2764
+ maxOutputTokens?: number;
2714
2765
  }
2715
2766
 
2716
2767
  /** Fine-tuning job creation parameters - optional fields. */
@@ -2839,6 +2890,10 @@ declare interface DeepResearchAgentConfig {
2839
2890
  * will then proceed only if the user confirms the plan in the next turn.
2840
2891
  */
2841
2892
  collaborative_planning?: boolean;
2893
+ /**
2894
+ * Enables bigquery tool for the Deep Research agent.
2895
+ */
2896
+ enable_bigquery_tool?: boolean;
2842
2897
  /**
2843
2898
  * Whether to include thought summaries in the response.
2844
2899
  */
@@ -3021,35 +3076,51 @@ export declare interface DistillationDataStats {
3021
3076
  trainingDatasetStats?: DatasetStats;
3022
3077
  }
3023
3078
 
3024
- /** Hyperparameters for distillation. */
3079
+ /** Distillation hyperparameters for tuning. */
3025
3080
  export declare interface DistillationHyperParameters {
3026
- /** Optional. Adapter size for distillation. */
3081
+ /** The size of the adapter. Can be 'small', 'medium', or 'large'. */
3027
3082
  adapterSize?: AdapterSize;
3028
- /** Optional. Number of complete passes the model makes over the entire training dataset during training. */
3083
+ /** Number of complete passes the model makes over the entire training dataset
3084
+ during training. */
3029
3085
  epochCount?: string;
3030
- /** Optional. Multiplier for adjusting the default learning rate. */
3086
+ /** Multiplier for adjusting the default learning rate. */
3031
3087
  learningRateMultiplier?: number;
3032
- /** The batch size hyperparameter for tuning.
3033
- This is only supported for OSS models in Gemini Enterprise Agent Platform.
3034
- */
3035
- batchSize?: number;
3036
- /** The learning rate for tuning. OSS models only. */
3088
+ /** Generation config for Distillation teacher model sampling. Only the
3089
+ following fields are supported for distillation teacher samplings:
3090
+ - temperature
3091
+ - top_p
3092
+ - top_k
3093
+ - candidate_count
3094
+ - thinking_config */
3095
+ generationConfig?: GenerationConfig;
3096
+ /** The learning rate for distillation tuning. */
3037
3097
  learningRate?: number;
3098
+ /** Batch size for tuning. This feature is only available for open
3099
+ source models. */
3100
+ batchSize?: number;
3038
3101
  }
3039
3102
 
3040
- /** Spec for creating a distilled dataset in Vertex Dataset. This data type is not supported in Gemini API. */
3103
+ /** Distillation sampling spec for tuning. */
3041
3104
  export declare interface DistillationSamplingSpec {
3042
- /** Optional. The base teacher model that is being distilled. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models). */
3105
+ /** The base teacher model that is being distilled. See [Supported
3106
+ models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models). */
3043
3107
  baseTeacherModel?: string;
3044
- /** Optional. The resource name of the Tuned teacher model. Format: `projects/{project}/locations/{location}/models/{model}`. */
3108
+ /** The resource name of the Tuned teacher model. Format:
3109
+ `projects/{project}/locations/{location}/models/{model}`. */
3045
3110
  tunedTeacherModelSource?: string;
3046
- /** Optional. Cloud Storage path to file containing validation dataset for distillation. The dataset must be formatted as a JSONL file. */
3111
+ /** Cloud Storage path to file containing validation dataset for distillation.
3112
+ The dataset must be formatted as a JSONL file. */
3047
3113
  validationDatasetUri?: string;
3114
+ /** Cloud Storage path to file containing prompt dataset for distillation.
3115
+ The dataset must be formatted as a JSONL file. */
3116
+ promptDatasetUri?: string;
3117
+ /** Hyperparameters for distillation tuning. */
3118
+ hyperparameters?: DistillationHyperParameters;
3048
3119
  }
3049
3120
 
3050
3121
  /** Distillation tuning spec for tuning. */
3051
3122
  export declare interface DistillationSpec {
3052
- /** The GCS URI of the prompt dataset to use during distillation. */
3123
+ /** Optional. Cloud Storage path to file containing prompt dataset for distillation. The dataset must be formatted as a JSONL file. */
3053
3124
  promptDatasetUri?: string;
3054
3125
  /** The base teacher model that is being distilled. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models). */
3055
3126
  baseTeacherModel?: string;
@@ -3065,7 +3136,7 @@ export declare interface DistillationSpec {
3065
3136
  tunedTeacherModelSource?: string;
3066
3137
  /** Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file. */
3067
3138
  validationDatasetUri?: string;
3068
- /** Tuning mode for tuning. */
3139
+ /** Optional. Specifies the tuning mode for distillation (sft part). This feature is only available for open source models. */
3069
3140
  tuningMode?: TuningMode;
3070
3141
  }
3071
3142
 
@@ -3102,7 +3173,7 @@ declare interface DocumentContent {
3102
3173
  /**
3103
3174
  * The mime type of the document.
3104
3175
  */
3105
- mime_type?: 'application/pdf';
3176
+ mime_type?: 'application/pdf' | 'text/csv';
3106
3177
  /**
3107
3178
  * The URI of the document.
3108
3179
  */
@@ -3342,15 +3413,6 @@ export declare interface EmbedContentBatch {
3342
3413
 
3343
3414
  /** Optional parameters for the embed_content method. */
3344
3415
  export declare interface EmbedContentConfig {
3345
- /** Used to override HTTP request options. */
3346
- httpOptions?: HttpOptions;
3347
- /** Abort signal which can be used to cancel the request.
3348
-
3349
- NOTE: AbortSignal is a client-only operation. Using it to cancel an
3350
- operation will not cancel the request in the service. You will still
3351
- be charged usage for any applicable operations.
3352
- */
3353
- abortSignal?: AbortSignal;
3354
3416
  /** Type of task for which the embedding will be used.
3355
3417
  */
3356
3418
  taskType?: string;
@@ -3380,6 +3442,15 @@ export declare interface EmbedContentConfig {
3380
3442
  Only applicable to Gemini Embedding 2 models.
3381
3443
  */
3382
3444
  audioTrackExtraction?: boolean;
3445
+ /** Used to override HTTP request options. */
3446
+ httpOptions?: HttpOptions;
3447
+ /** Abort signal which can be used to cancel the request.
3448
+
3449
+ NOTE: AbortSignal is a client-only operation. Using it to cancel an
3450
+ operation will not cancel the request in the service. You will still
3451
+ be charged usage for any applicable operations.
3452
+ */
3453
+ abortSignal?: AbortSignal;
3383
3454
  }
3384
3455
 
3385
3456
  /** Request-level metadata for the Gemini Enterprise Agent Platform Embed Content API. */
@@ -3512,7 +3583,15 @@ export declare enum Environment {
3512
3583
  /**
3513
3584
  * Operates in a web browser.
3514
3585
  */
3515
- ENVIRONMENT_BROWSER = "ENVIRONMENT_BROWSER"
3586
+ ENVIRONMENT_BROWSER = "ENVIRONMENT_BROWSER",
3587
+ /**
3588
+ * Operates in a mobile environment.
3589
+ */
3590
+ ENVIRONMENT_MOBILE = "ENVIRONMENT_MOBILE",
3591
+ /**
3592
+ * Operates in a desktop environment.
3593
+ */
3594
+ ENVIRONMENT_DESKTOP = "ENVIRONMENT_DESKTOP"
3516
3595
  }
3517
3596
 
3518
3597
  /**
@@ -3596,6 +3675,10 @@ declare interface ErrorEvent_2 {
3596
3675
  * The event_id token to be used to resume the interaction stream, from this event.
3597
3676
  */
3598
3677
  event_id?: string;
3678
+ /**
3679
+ * Optional metadata accompanying ANY streamed event.
3680
+ */
3681
+ metadata?: ErrorEvent_2.Metadata;
3599
3682
  }
3600
3683
 
3601
3684
  declare namespace ErrorEvent_2 {
@@ -3612,6 +3695,15 @@ declare namespace ErrorEvent_2 {
3612
3695
  */
3613
3696
  message?: string;
3614
3697
  }
3698
+ /**
3699
+ * Optional metadata accompanying ANY streamed event.
3700
+ */
3701
+ interface Metadata {
3702
+ /**
3703
+ * Statistics on the interaction request's token usage.
3704
+ */
3705
+ usage?: InteractionsAPI.Usage;
3706
+ }
3615
3707
  }
3616
3708
 
3617
3709
  declare namespace Errors {
@@ -3668,17 +3760,13 @@ export declare interface ExactMatchMetricValue {
3668
3760
  score?: number;
3669
3761
  }
3670
3762
 
3671
- /** Model-generated code executed server-side, results returned to the model.
3672
-
3673
- Only generated when using the `CodeExecution` tool, in which the code will
3674
- be automatically executed, and a corresponding `CodeExecutionResult` will
3675
- also be generated. */
3763
+ /** Code generated by the model that is meant to be executed, and the result returned to the model. Generated when using the `CodeExecution` tool, in which the code will be automatically executed, and a corresponding CodeExecutionResult will also be generated. */
3676
3764
  export declare interface ExecutableCode {
3677
3765
  /** Required. The code to be executed. */
3678
3766
  code?: string;
3679
3767
  /** Required. Programming language of the `code`. */
3680
3768
  language?: Language;
3681
- /** Unique identifier of the `ExecutableCode` part. The server returns the `CodeExecutionResult` with the matching `id`. */
3769
+ /** Optional. Unique identifier of the `ExecutableCode` part. The server returns the `CodeExecutionResult` with the matching `id`. This field is not supported in Vertex AI. */
3682
3770
  id?: string;
3683
3771
  }
3684
3772
 
@@ -3999,22 +4087,21 @@ declare interface FileSearchResultStep {
3999
4087
 
4000
4088
  /** A collection of Documents. */
4001
4089
  export declare interface FileSearchStore {
4002
- /** The resource name of the FileSearchStore. Example: `fileSearchStores/my-file-search-store-123` */
4090
+ /** Output only. Immutable. Identifier. The `FileSearchStore` resource name. It is an ID (name excluding the "fileSearchStores/" prefix) that can contain up to 40 characters that are lowercase alphanumeric or dashes (-). It is output only. The unique name will be derived from `display_name` along with a 12 character random suffix. Example: `fileSearchStores/my-awesome-file-search-store-123a456b789c` If `display_name` is not provided, the name will be randomly generated. */
4003
4091
  name?: string;
4004
- /** The human-readable display name for the FileSearchStore. */
4092
+ /** Optional. The human-readable display name for the `FileSearchStore`. The display name must be no more than 512 characters in length, including spaces. Example: "Docs on Semantic Retriever". */
4005
4093
  displayName?: string;
4006
- /** The Timestamp of when the FileSearchStore was created. */
4094
+ /** Output only. The Timestamp of when the `FileSearchStore` was created. */
4007
4095
  createTime?: string;
4008
- /** The Timestamp of when the FileSearchStore was last updated. */
4096
+ /** Output only. The Timestamp of when the `FileSearchStore` was last updated. */
4009
4097
  updateTime?: string;
4010
- /** The number of documents in the FileSearchStore that are active and ready for retrieval. */
4098
+ /** Output only. The number of documents in the `FileSearchStore` that are active and ready for retrieval. */
4011
4099
  activeDocumentsCount?: string;
4012
- /** The number of documents in the FileSearchStore that are being processed. */
4100
+ /** Output only. The number of documents in the `FileSearchStore` that are being processed. */
4013
4101
  pendingDocumentsCount?: string;
4014
- /** The number of documents in the FileSearchStore that have failed processing. */
4102
+ /** Output only. The number of documents in the `FileSearchStore` that have failed processing. */
4015
4103
  failedDocumentsCount?: string;
4016
- /** The size of raw bytes ingested into the FileSearchStore. This is the
4017
- total size of all the documents in the FileSearchStore. */
4104
+ /** Output only. The size of raw bytes ingested into the `FileSearchStore`. This is the total size of all the documents in the `FileSearchStore`. */
4018
4105
  sizeBytes?: string;
4019
4106
  /** The embedding model used by the FileSearchStore. */
4020
4107
  embeddingModel?: string;
@@ -4273,14 +4360,13 @@ declare interface Function_2 {
4273
4360
  parameters?: unknown;
4274
4361
  }
4275
4362
 
4276
- /** A function call. */
4363
+ /** A predicted FunctionCall returned from the model that contains a string representing the FunctionDeclaration.name and a structured JSON object containing the parameters and their values. */
4277
4364
  export declare interface FunctionCall {
4278
- /** The unique id of the function call. If populated, the client to execute the
4279
- `function_call` and return the response with the matching `id`. */
4365
+ /** Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`. */
4280
4366
  id?: string;
4281
- /** Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details. */
4367
+ /** Optional. The function parameters and values in JSON object format. See FunctionDeclaration.parameters for parameter details. */
4282
4368
  args?: Record<string, unknown>;
4283
- /** Optional. The name of the function to call. Matches [FunctionDeclaration.name]. */
4369
+ /** Optional. The name of the function to call. Matches FunctionDeclaration.name. */
4284
4370
  name?: string;
4285
4371
  /** Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally. This field is not supported in Gemini API. */
4286
4372
  partialArgs?: PartialArg[];
@@ -4290,11 +4376,11 @@ export declare interface FunctionCall {
4290
4376
 
4291
4377
  /** Function calling config. */
4292
4378
  export declare interface FunctionCallingConfig {
4293
- /** Optional. Function names to call. Only set when the Mode is ANY. Function names should match [FunctionDeclaration.name]. With mode set to ANY, model will predict a function call from the set of function names provided. */
4379
+ /** Optional. Function names to call. Only set when the Mode is ANY. Function names should match FunctionDeclaration.name. With mode set to ANY, model will predict a function call from the set of function names provided. */
4294
4380
  allowedFunctionNames?: string[];
4295
4381
  /** Optional. Function calling mode. */
4296
4382
  mode?: FunctionCallingConfigMode;
4297
- /** Optional. When set to true, arguments of a single function call will be streamed out in multiple parts/contents/responses. Partial parameter results will be returned in the [FunctionCall.partial_args] field. This field is not supported in Gemini API. */
4383
+ /** Optional. When set to true, arguments of a single function call will be streamed out in multiple parts/contents/responses. Partial parameter results will be returned in the `FunctionCall.partial_args` field. This field is not supported in Gemini API. */
4298
4384
  streamFunctionCallArguments?: boolean;
4299
4385
  }
4300
4386
 
@@ -4351,7 +4437,7 @@ declare interface FunctionCallStep {
4351
4437
  export declare interface FunctionDeclaration {
4352
4438
  /** Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. */
4353
4439
  description?: string;
4354
- /** Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots, colons and dashes, with a maximum length of 64. */
4440
+ /** Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots, colons and dashes, with a maximum length of 128. */
4355
4441
  name?: string;
4356
4442
  /** Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1 */
4357
4443
  parameters?: Schema;
@@ -4376,7 +4462,7 @@ export declare class FunctionResponse {
4376
4462
  parts?: FunctionResponsePart[];
4377
4463
  /** Optional. The id of the function call this response is for. Populated by the client to match the corresponding function call `id`. */
4378
4464
  id?: string;
4379
- /** Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name]. */
4465
+ /** Required. The name of the function to call. Matches FunctionDeclaration.name and FunctionCall.name. */
4380
4466
  name?: string;
4381
4467
  /** Required. The function response in JSON object format. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output. */
4382
4468
  response?: Record<string, unknown>;
@@ -5139,7 +5225,7 @@ export declare interface GenerationConfig {
5139
5225
  presencePenalty?: number;
5140
5226
  /** Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. */
5141
5227
  responseLogprobs?: boolean;
5142
- /** Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. */
5228
+ /** Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. */
5143
5229
  responseMimeType?: string;
5144
5230
  /** Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. */
5145
5231
  responseModalities?: Modality[];
@@ -5972,9 +6058,9 @@ export declare interface GroundingChunkRetrievedContext {
5972
6058
  customMetadata?: GroundingChunkCustomMetadata[];
5973
6059
  /** Optional. Name of the `FileSearchStore` containing the document. Example: `fileSearchStores/123`. This field is not supported in Vertex AI. */
5974
6060
  fileSearchStore?: string;
5975
- /** Optional. Page number of the retrieved context. This field is not supported in Vertex AI. */
6061
+ /** Optional. Page number of the retrieved context, if applicable. This field is not supported in Vertex AI. */
5976
6062
  pageNumber?: number;
5977
- /** Optional. Media ID. This field is not supported in Vertex AI. */
6063
+ /** Optional. The media blob resource name for multimodal file search results. Format: fileSearchStores/{file_search_store_id}/media/{blob_id}. This field is not supported in Vertex AI. */
5978
6064
  mediaId?: string;
5979
6065
  }
5980
6066
 
@@ -6575,7 +6661,7 @@ declare interface Interaction {
6575
6661
  /**
6576
6662
  * Required. Output only. The status of the interaction.
6577
6663
  */
6578
- status: 'in_progress' | 'requires_action' | 'completed' | 'failed' | 'cancelled' | 'incomplete';
6664
+ status: 'in_progress' | 'requires_action' | 'completed' | 'failed' | 'cancelled' | 'incomplete' | 'budget_exceeded';
6579
6665
  /**
6580
6666
  * Required. Output only. The steps that make up the interaction.
6581
6667
  */
@@ -6698,6 +6784,22 @@ declare interface InteractionCompletedEvent {
6698
6784
  * The event_id token to be used to resume the interaction stream, from this event.
6699
6785
  */
6700
6786
  event_id?: string;
6787
+ /**
6788
+ * Optional metadata accompanying ANY streamed event.
6789
+ */
6790
+ metadata?: InteractionCompletedEvent.Metadata;
6791
+ }
6792
+
6793
+ declare namespace InteractionCompletedEvent {
6794
+ /**
6795
+ * Optional metadata accompanying ANY streamed event.
6796
+ */
6797
+ interface Metadata {
6798
+ /**
6799
+ * Statistics on the interaction request's token usage.
6800
+ */
6801
+ usage?: InteractionsAPI.Usage;
6802
+ }
6701
6803
  }
6702
6804
 
6703
6805
  declare interface InteractionCreatedEvent {
@@ -6710,6 +6812,22 @@ declare interface InteractionCreatedEvent {
6710
6812
  * The event_id token to be used to resume the interaction stream, from this event.
6711
6813
  */
6712
6814
  event_id?: string;
6815
+ /**
6816
+ * Optional metadata accompanying ANY streamed event.
6817
+ */
6818
+ metadata?: InteractionCreatedEvent.Metadata;
6819
+ }
6820
+
6821
+ declare namespace InteractionCreatedEvent {
6822
+ /**
6823
+ * Optional metadata accompanying ANY streamed event.
6824
+ */
6825
+ interface Metadata {
6826
+ /**
6827
+ * Statistics on the interaction request's token usage.
6828
+ */
6829
+ usage?: InteractionsAPI.Usage;
6830
+ }
6713
6831
  }
6714
6832
 
6715
6833
  declare type InteractionCreateParams = CreateModelInteractionParamsNonStreaming | CreateModelInteractionParamsStreaming | CreateAgentInteractionParamsNonStreaming | CreateAgentInteractionParamsStreaming;
@@ -6863,11 +6981,27 @@ declare type InteractionSSEEvent = InteractionCreatedEvent | InteractionComplete
6863
6981
  declare interface InteractionStatusUpdate {
6864
6982
  event_type: 'interaction.status_update';
6865
6983
  interaction_id: string;
6866
- status: 'in_progress' | 'requires_action' | 'completed' | 'failed' | 'cancelled' | 'incomplete';
6984
+ status: 'in_progress' | 'requires_action' | 'completed' | 'failed' | 'cancelled' | 'incomplete' | 'budget_exceeded';
6867
6985
  /**
6868
6986
  * The event_id token to be used to resume the interaction stream, from this event.
6869
6987
  */
6870
6988
  event_id?: string;
6989
+ /**
6990
+ * Optional metadata accompanying ANY streamed event.
6991
+ */
6992
+ metadata?: InteractionStatusUpdate.Metadata;
6993
+ }
6994
+
6995
+ declare namespace InteractionStatusUpdate {
6996
+ /**
6997
+ * Optional metadata accompanying ANY streamed event.
6998
+ */
6999
+ interface Metadata {
7000
+ /**
7001
+ * Statistics on the interaction request's token usage.
7002
+ */
7003
+ usage?: InteractionsAPI.Usage;
7004
+ }
6871
7005
  }
6872
7006
 
6873
7007
  /** Parameters for the private _Register method. */
@@ -6963,16 +7097,11 @@ export declare enum Language {
6963
7097
  PYTHON = "PYTHON"
6964
7098
  }
6965
7099
 
6966
- /** An object that represents a latitude/longitude pair.
6967
-
6968
- This is expressed as a pair of doubles to represent degrees latitude and
6969
- degrees longitude. Unless specified otherwise, this object must conform to the
6970
- <a href="https://en.wikipedia.org/wiki/World_Geodetic_System#1984_version">
6971
- WGS84 standard</a>. Values must be within normalized ranges. */
7100
+ /** An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. */
6972
7101
  export declare interface LatLng {
6973
7102
  /** The latitude in degrees. It must be in the range [-90.0, +90.0]. */
6974
7103
  latitude?: number;
6975
- /** The longitude in degrees. It must be in the range [-180.0, +180.0] */
7104
+ /** The longitude in degrees. It must be in the range [-180.0, +180.0]. */
6976
7105
  longitude?: number;
6977
7106
  }
6978
7107
 
@@ -8054,7 +8183,7 @@ export declare enum MaskReferenceMode {
8054
8183
  MASK_MODE_SEMANTIC = "MASK_MODE_SEMANTIC"
8055
8184
  }
8056
8185
 
8057
- /** A MCPServer is a server that can be called by the model to perform actions. It is a server that implements the MCP protocol. Next ID: 5. This data type is not supported in Vertex AI. */
8186
+ /** A MCPServer is a server that can be called by the model to perform actions. It is a server that implements the MCP protocol. Next ID: 6. This data type is not supported in Vertex AI. */
8058
8187
  export declare interface McpServer {
8059
8188
  /** The name of the MCPServer. */
8060
8189
  name?: string;
@@ -8856,15 +8985,15 @@ export declare enum Outcome {
8856
8985
  */
8857
8986
  OUTCOME_UNSPECIFIED = "OUTCOME_UNSPECIFIED",
8858
8987
  /**
8859
- * Code execution completed successfully.
8988
+ * Code execution completed successfully. `output` contains the stdout, if any.
8860
8989
  */
8861
8990
  OUTCOME_OK = "OUTCOME_OK",
8862
8991
  /**
8863
- * Code execution finished but with a failure. `stderr` should contain the reason.
8992
+ * Code execution failed. `output` contains the stderr and stdout, if any.
8864
8993
  */
8865
8994
  OUTCOME_FAILED = "OUTCOME_FAILED",
8866
8995
  /**
8867
- * Code execution ran for too long, and was cancelled. There may or may not be a partial output present.
8996
+ * Code execution ran for too long, and was cancelled. There may or may not be a partial `output` present.
8868
8997
  */
8869
8998
  OUTCOME_DEADLINE_EXCEEDED = "OUTCOME_DEADLINE_EXCEEDED"
8870
8999
  }
@@ -8899,7 +9028,8 @@ export declare enum PagedItem {
8899
9028
  PAGED_ITEM_FILES = "files",
8900
9029
  PAGED_ITEM_CACHED_CONTENTS = "cachedContents",
8901
9030
  PAGED_ITEM_FILE_SEARCH_STORES = "fileSearchStores",
8902
- PAGED_ITEM_DOCUMENTS = "documents"
9031
+ PAGED_ITEM_DOCUMENTS = "documents",
9032
+ PAGED_ITEM_SKILLS = "skills"
8903
9033
  }
8904
9034
 
8905
9035
  declare interface PagedItemConfig {
@@ -8920,6 +9050,7 @@ declare interface PagedItemResponse<T> {
8920
9050
  cachedContents?: T[];
8921
9051
  fileSearchStores?: T[];
8922
9052
  documents?: T[];
9053
+ skills?: T[];
8923
9054
  }
8924
9055
 
8925
9056
  /**
@@ -9377,6 +9508,10 @@ export declare interface RagChunk {
9377
9508
  pageSpan?: RagChunkPageSpan;
9378
9509
  /** The content of the chunk. */
9379
9510
  text?: string;
9511
+ /** The ID of the chunk. */
9512
+ chunkId?: string;
9513
+ /** The ID of the file that the chunk belongs to. */
9514
+ fileId?: string;
9380
9515
  }
9381
9516
 
9382
9517
  /** Represents where the chunk starts and ends in the document. This data type is not supported in Gemini API. */
@@ -9597,6 +9732,12 @@ export declare class RegisterFilesResponse {
9597
9732
  files?: File_2[];
9598
9733
  }
9599
9734
 
9735
+ /** Reinforcement tuning autorater scorer. */
9736
+ export declare interface ReinforcementTuningAutoraterScorer {
9737
+ /** Autorater config for evaluation. */
9738
+ autoraterConfig?: AutoraterConfig;
9739
+ }
9740
+
9600
9741
  /** Represents a recorded session. */
9601
9742
  export declare interface ReplayFile {
9602
9743
  replayId?: string;
@@ -9738,10 +9879,9 @@ export declare interface Retrieval {
9738
9879
  vertexRagStore?: VertexRagStore;
9739
9880
  }
9740
9881
 
9741
- /** Retrieval config.
9742
- */
9882
+ /** Retrieval config. */
9743
9883
  export declare interface RetrievalConfig {
9744
- /** Optional. The location of the user. */
9884
+ /** The location of the user. */
9745
9885
  latLng?: LatLng;
9746
9886
  /** The language code of the user. */
9747
9887
  languageCode?: string;
@@ -10257,6 +10397,11 @@ export declare class SingleEmbedContentResponse {
10257
10397
  tokenCount?: string;
10258
10398
  }
10259
10399
 
10400
+ /** Single reinforcement tuning reward config. */
10401
+ export declare interface SingleReinforcementTuningRewardConfig {
10402
+ autoraterScorer?: ReinforcementTuningAutoraterScorer;
10403
+ }
10404
+
10260
10405
  /** Context window will be truncated by keeping only suffix of it.
10261
10406
 
10262
10407
  Context window will always be cut at start of USER role turn. System
@@ -10335,6 +10480,10 @@ declare interface StepDelta {
10335
10480
  * The event_id token to be used to resume the interaction stream, from this event.
10336
10481
  */
10337
10482
  event_id?: string;
10483
+ /**
10484
+ * Optional metadata accompanying ANY streamed event.
10485
+ */
10486
+ metadata?: StepDelta.Metadata;
10338
10487
  }
10339
10488
 
10340
10489
  declare namespace StepDelta {
@@ -10373,7 +10522,7 @@ declare namespace StepDelta {
10373
10522
  interface Document {
10374
10523
  type: 'document';
10375
10524
  data?: string;
10376
- mime_type?: 'application/pdf';
10525
+ mime_type?: 'application/pdf' | 'text/csv';
10377
10526
  uri?: string;
10378
10527
  }
10379
10528
  interface Video {
@@ -10540,6 +10689,15 @@ declare namespace StepDelta {
10540
10689
  is_error?: boolean;
10541
10690
  name?: string;
10542
10691
  }
10692
+ /**
10693
+ * Optional metadata accompanying ANY streamed event.
10694
+ */
10695
+ interface Metadata {
10696
+ /**
10697
+ * Statistics on the interaction request's token usage.
10698
+ */
10699
+ usage?: InteractionsAPI.Usage;
10700
+ }
10543
10701
  }
10544
10702
 
10545
10703
  declare interface StepStart {
@@ -10553,6 +10711,22 @@ declare interface StepStart {
10553
10711
  * The event_id token to be used to resume the interaction stream, from this event.
10554
10712
  */
10555
10713
  event_id?: string;
10714
+ /**
10715
+ * Optional metadata accompanying ANY streamed event.
10716
+ */
10717
+ metadata?: StepStart.Metadata;
10718
+ }
10719
+
10720
+ declare namespace StepStart {
10721
+ /**
10722
+ * Optional metadata accompanying ANY streamed event.
10723
+ */
10724
+ interface Metadata {
10725
+ /**
10726
+ * Statistics on the interaction request's token usage.
10727
+ */
10728
+ usage?: InteractionsAPI.Usage;
10729
+ }
10556
10730
  }
10557
10731
 
10558
10732
  declare interface StepStop {
@@ -10562,6 +10736,22 @@ declare interface StepStop {
10562
10736
  * The event_id token to be used to resume the interaction stream, from this event.
10563
10737
  */
10564
10738
  event_id?: string;
10739
+ /**
10740
+ * Optional metadata accompanying ANY streamed event.
10741
+ */
10742
+ metadata?: StepStop.Metadata;
10743
+ }
10744
+
10745
+ declare namespace StepStop {
10746
+ /**
10747
+ * Optional metadata accompanying ANY streamed event.
10748
+ */
10749
+ interface Metadata {
10750
+ /**
10751
+ * Statistics on the interaction request's token usage.
10752
+ */
10753
+ usage?: InteractionsAPI.Usage;
10754
+ }
10565
10755
  }
10566
10756
 
10567
10757
  declare class Stream<Item> implements AsyncIterable<Item> {
@@ -11173,19 +11363,17 @@ declare interface ToolChoiceConfig {
11173
11363
 
11174
11364
  declare type ToolChoiceType = 'auto' | 'any' | 'none' | 'validated';
11175
11365
 
11176
- /** Tool that executes code generated by the model, and automatically returns the result to the model. See also [ExecutableCode]and [CodeExecutionResult] which are input and output to this tool. This data type is not supported in Gemini API. */
11366
+ /** Tool that executes code generated by the model, and automatically returns the result to the model. See also ExecutableCode and CodeExecutionResult, which are input and output to this tool. This data type is not supported in Gemini API. */
11177
11367
  export declare interface ToolCodeExecution {
11178
11368
  }
11179
11369
 
11180
- /** Tool config.
11181
-
11182
- This config is shared for all tools provided in the request. */
11370
+ /** Tool config. This config is shared for all tools provided in the request. */
11183
11371
  export declare interface ToolConfig {
11184
11372
  /** Optional. Retrieval config. */
11185
11373
  retrievalConfig?: RetrievalConfig;
11186
11374
  /** Optional. Function calling config. */
11187
11375
  functionCallingConfig?: FunctionCallingConfig;
11188
- /** If true, the API response will include the server-side tool calls and responses within the `Content` message. This allows clients to observe the server's tool invocations. */
11376
+ /** Optional. If true, the API response will include the server-side tool calls and responses within the `Content` message. This allows clients to observe the server's tool interactions. This field is not supported in Vertex AI. */
11189
11377
  includeServerSideToolInvocations?: boolean;
11190
11378
  }
11191
11379
 
@@ -11410,10 +11598,11 @@ export declare interface TuningJob {
11410
11598
  tuningJobState?: TuningJobState;
11411
11599
  /** Tuning Spec for Veo Tuning. */
11412
11600
  veoTuningSpec?: VeoTuningSpec;
11413
- /** Optional. Spec for creating a distillation dataset. */
11414
- distillationSamplingSpec?: DistillationSamplingSpec;
11415
11601
  /** Output only. Tuning Job metadata. */
11416
11602
  tuningJobMetadata?: TuningJobMetadata;
11603
+ /** Tuning Spec for Veo LoRA Tuning. */
11604
+ veoLoraTuningSpec?: VeoLoraTuningSpec;
11605
+ distillationSamplingSpec?: DistillationSamplingSpec;
11417
11606
  }
11418
11607
 
11419
11608
  /** Tuning job metadata. This data type is not supported in Gemini API. */
@@ -11465,7 +11654,11 @@ export declare enum TuningMethod {
11465
11654
  /**
11466
11655
  * Distillation tuning.
11467
11656
  */
11468
- DISTILLATION = "DISTILLATION"
11657
+ DISTILLATION = "DISTILLATION",
11658
+ /**
11659
+ * Reinforcement tuning.
11660
+ */
11661
+ REINFORCEMENT_TUNING = "REINFORCEMENT_TUNING"
11469
11662
  }
11470
11663
 
11471
11664
  /** Tuning mode. This enum is not supported in Gemini API. */
@@ -11554,7 +11747,23 @@ declare class Tunings extends BaseModule {
11554
11747
  private tuneMldevInternal;
11555
11748
  }
11556
11749
 
11557
- /** The tuning task. Either I2V or T2V. This enum is not supported in Gemini API. */
11750
+ /** The speed of the tuning job. Only supported for Veo 3.0 models. This enum is not supported in Gemini API. */
11751
+ export declare enum TuningSpeed {
11752
+ /**
11753
+ * The default / unset value. For Veo 3.0 models, this defaults to FAST.
11754
+ */
11755
+ TUNING_SPEED_UNSPECIFIED = "TUNING_SPEED_UNSPECIFIED",
11756
+ /**
11757
+ * Regular tuning speed.
11758
+ */
11759
+ REGULAR = "REGULAR",
11760
+ /**
11761
+ * Fast tuning speed.
11762
+ */
11763
+ FAST = "FAST"
11764
+ }
11765
+
11766
+ /** The tuning task for Veo. This enum is not supported in Gemini API. */
11558
11767
  export declare enum TuningTask {
11559
11768
  /**
11560
11769
  * Default value. This value is unused.
@@ -11766,8 +11975,8 @@ declare namespace types {
11766
11975
  createPartFromExecutableCode,
11767
11976
  createUserContent,
11768
11977
  createModelContent,
11769
- Language,
11770
11978
  Outcome,
11979
+ Language,
11771
11980
  FunctionResponseScheduling,
11772
11981
  Type,
11773
11982
  Environment,
@@ -11777,13 +11986,13 @@ declare namespace types {
11777
11986
  PhishBlockThreshold,
11778
11987
  Behavior,
11779
11988
  DynamicRetrievalConfigMode,
11780
- FunctionCallingConfigMode,
11781
11989
  ThinkingLevel,
11782
11990
  PersonGeneration,
11783
11991
  ProminentPeople,
11784
11992
  HarmCategory,
11785
11993
  HarmBlockMethod,
11786
11994
  HarmBlockThreshold,
11995
+ FunctionCallingConfigMode,
11787
11996
  FinishReason,
11788
11997
  HarmProbability,
11789
11998
  HarmSeverity,
@@ -11799,7 +12008,9 @@ declare namespace types {
11799
12008
  TuningJobState,
11800
12009
  AggregationMetric,
11801
12010
  PairwiseChoice,
12011
+ TuningSpeed,
11802
12012
  TuningTask,
12013
+ VideoOrientation,
11803
12014
  DocumentState,
11804
12015
  PartMediaResolutionLevel,
11805
12016
  ToolType,
@@ -11832,11 +12043,11 @@ declare namespace types {
11832
12043
  Scale,
11833
12044
  MusicGenerationMode,
11834
12045
  LiveMusicPlaybackControl,
11835
- ExecutableCode,
11836
- CodeExecutionResult,
11837
12046
  PartMediaResolution,
11838
12047
  ToolCall,
11839
12048
  ToolResponse,
12049
+ CodeExecutionResult,
12050
+ ExecutableCode,
11840
12051
  FileData,
11841
12052
  PartialArg,
11842
12053
  FunctionCall,
@@ -11892,10 +12103,6 @@ declare namespace types {
11892
12103
  StreamableHttpTransport,
11893
12104
  McpServer,
11894
12105
  Tool,
11895
- LatLng,
11896
- RetrievalConfig,
11897
- FunctionCallingConfig,
11898
- ToolConfig,
11899
12106
  ReplicatedVoiceConfig,
11900
12107
  PrebuiltVoiceConfig,
11901
12108
  VoiceConfig,
@@ -11910,6 +12117,10 @@ declare namespace types {
11910
12117
  GenerationConfigRoutingConfigManualRoutingMode,
11911
12118
  GenerationConfigRoutingConfig,
11912
12119
  SafetySetting,
12120
+ LatLng,
12121
+ RetrievalConfig,
12122
+ FunctionCallingConfig,
12123
+ ToolConfig,
11913
12124
  ModelArmorConfig,
11914
12125
  GenerateContentConfig,
11915
12126
  GenerateContentParameters,
@@ -12024,6 +12235,7 @@ declare namespace types {
12024
12235
  PreferenceOptimizationHyperParameters,
12025
12236
  PreferenceOptimizationSpec,
12026
12237
  DistillationHyperParameters,
12238
+ DistillationSamplingSpec,
12027
12239
  DistillationSpec,
12028
12240
  GoogleRpcStatus,
12029
12241
  PreTunedModel,
@@ -12059,8 +12271,8 @@ declare namespace types {
12059
12271
  FullFineTuningSpec,
12060
12272
  VeoHyperParameters,
12061
12273
  VeoTuningSpec,
12062
- DistillationSamplingSpec,
12063
12274
  TuningJobMetadata,
12275
+ VeoLoraTuningSpec,
12064
12276
  TuningJob,
12065
12277
  ListTuningJobsConfig,
12066
12278
  ListTuningJobsParameters,
@@ -12071,6 +12283,11 @@ declare namespace types {
12071
12283
  TuningExample,
12072
12284
  TuningDataset,
12073
12285
  TuningValidationDataset,
12286
+ AutoraterConfig,
12287
+ ReinforcementTuningAutoraterScorer,
12288
+ SingleReinforcementTuningRewardConfig,
12289
+ CompositeReinforcementTuningRewardConfigWeightedRewardConfig,
12290
+ CompositeReinforcementTuningRewardConfig,
12074
12291
  CreateTuningJobConfig,
12075
12292
  CreateTuningJobParametersPrivate,
12076
12293
  TuningOperation,
@@ -12878,10 +13095,26 @@ export declare interface VeoHyperParameters {
12878
13095
  epochCount?: string;
12879
13096
  /** Optional. Multiplier for adjusting the default learning rate. */
12880
13097
  learningRateMultiplier?: number;
12881
- /** Optional. The tuning task. Either I2V or T2V. */
13098
+ /** The tuning task for Veo. */
12882
13099
  tuningTask?: TuningTask;
12883
13100
  /** Optional. The ratio of Google internal dataset to use in the training mixture, in range of `[0, 1)`. If `0.2`, it means 20% of Google internal dataset and 80% of user dataset will be used for training. If not set, the default value is 0.1. */
12884
13101
  veoDataMixtureRatio?: number;
13102
+ /** Optional. The adapter size for LoRA tuning. */
13103
+ adapterSize?: AdapterSize;
13104
+ /** The speed of the tuning job. Only supported for Veo 3.0 models. */
13105
+ tuningSpeed?: TuningSpeed;
13106
+ }
13107
+
13108
+ /** Tuning Spec for Veo LoRA Model Tuning. This data type is not supported in Gemini API. */
13109
+ export declare interface VeoLoraTuningSpec {
13110
+ /** Optional. Hyperparameters for Veo LoRA. */
13111
+ hyperParameters?: VeoHyperParameters;
13112
+ /** Required. Training dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset. */
13113
+ trainingDatasetUri?: string;
13114
+ /** Optional. Validation dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset. */
13115
+ validationDatasetUri?: string;
13116
+ /** Optional. The orientation of the video. Defaults to LANDSCAPE. */
13117
+ videoOrientation?: VideoOrientation;
12885
13118
  }
12886
13119
 
12887
13120
  /** Tuning Spec for Veo Model Tuning. This data type is not supported in Gemini API. */
@@ -13069,6 +13302,22 @@ export declare interface VideoMetadata {
13069
13302
  startOffset?: string;
13070
13303
  }
13071
13304
 
13305
+ /** The orientation of the video. Defaults to LANDSCAPE. This enum is not supported in Gemini API. */
13306
+ export declare enum VideoOrientation {
13307
+ /**
13308
+ * Unspecified video orientation. Defaults to landscape.
13309
+ */
13310
+ VIDEO_ORIENTATION_UNSPECIFIED = "VIDEO_ORIENTATION_UNSPECIFIED",
13311
+ /**
13312
+ * Landscape orientation (e.g. 16:9, 1280x720).
13313
+ */
13314
+ LANDSCAPE = "LANDSCAPE",
13315
+ /**
13316
+ * Portrait orientation (e.g. 9:16, 720x1280).
13317
+ */
13318
+ PORTRAIT = "PORTRAIT"
13319
+ }
13320
+
13072
13321
  /** Voice activity signal. */
13073
13322
  export declare interface VoiceActivity {
13074
13323
  /** The type of the voice activity signal. */