// Copyright 2026 LiveKit, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//   http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
// @generated from file livekit_agentdb.proto (package livekit, syntax proto3)
/* eslint-disable */
// @ts-nocheck

import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
import { Message, proto3 } from "@bufbuild/protobuf";

/**
 * Nested so that names like Value and Ping need not be unique across the
 * livekit package. `tip` throughout is the latest durable commit sequence.
 *
 * @generated from message livekit.AgentDB
 */
export declare class AgentDB extends Message<AgentDB> {
  constructor(data?: PartialMessage<AgentDB>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB;

  static equals(a: AgentDB | PlainMessage<AgentDB> | undefined, b: AgentDB | PlainMessage<AgentDB> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.CreateRequest
 */
export declare class AgentDB_CreateRequest extends Message<AgentDB_CreateRequest> {
  /**
   * @generated from field: string region = 1;
   */
  region: string;

  /**
   * Unset: never expires, and expires_at is then 0 everywhere.
   * Otherwise clamped to the server cap, and never extended.
   *
   * @generated from field: int64 ttl_seconds = 2;
   */
  ttlSeconds: bigint;

  constructor(data?: PartialMessage<AgentDB_CreateRequest>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.CreateRequest";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_CreateRequest;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_CreateRequest;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_CreateRequest;

  static equals(a: AgentDB_CreateRequest | PlainMessage<AgentDB_CreateRequest> | undefined, b: AgentDB_CreateRequest | PlainMessage<AgentDB_CreateRequest> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.CreateResponse
 */
export declare class AgentDB_CreateResponse extends Message<AgentDB_CreateResponse> {
  /**
   * "DB_..."
   *
   * @generated from field: string database_id = 1;
   */
  databaseId: string;

  /**
   * @generated from field: int64 expires_at = 2;
   */
  expiresAt: bigint;

  constructor(data?: PartialMessage<AgentDB_CreateResponse>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.CreateResponse";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_CreateResponse;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_CreateResponse;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_CreateResponse;

  static equals(a: AgentDB_CreateResponse | PlainMessage<AgentDB_CreateResponse> | undefined, b: AgentDB_CreateResponse | PlainMessage<AgentDB_CreateResponse> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.GetRequest
 */
export declare class AgentDB_GetRequest extends Message<AgentDB_GetRequest> {
  /**
   * @generated from field: string database_id = 1;
   */
  databaseId: string;

  constructor(data?: PartialMessage<AgentDB_GetRequest>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.GetRequest";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_GetRequest;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_GetRequest;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_GetRequest;

  static equals(a: AgentDB_GetRequest | PlainMessage<AgentDB_GetRequest> | undefined, b: AgentDB_GetRequest | PlainMessage<AgentDB_GetRequest> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.ListRequest
 */
export declare class AgentDB_ListRequest extends Message<AgentDB_ListRequest> {
  /**
   * server-clamped
   *
   * @generated from field: int32 page_size = 1;
   */
  pageSize: number;

  /**
   * @generated from field: string page_token = 2;
   */
  pageToken: string;

  constructor(data?: PartialMessage<AgentDB_ListRequest>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.ListRequest";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_ListRequest;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_ListRequest;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_ListRequest;

  static equals(a: AgentDB_ListRequest | PlainMessage<AgentDB_ListRequest> | undefined, b: AgentDB_ListRequest | PlainMessage<AgentDB_ListRequest> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.ListResponse
 */
export declare class AgentDB_ListResponse extends Message<AgentDB_ListResponse> {
  /**
   * @generated from field: repeated livekit.AgentDB.AgentDatabase databases = 1;
   */
  databases: AgentDB_AgentDatabase[];

  /**
   * empty when exhausted
   *
   * @generated from field: string next_page_token = 2;
   */
  nextPageToken: string;

  constructor(data?: PartialMessage<AgentDB_ListResponse>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.ListResponse";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_ListResponse;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_ListResponse;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_ListResponse;

  static equals(a: AgentDB_ListResponse | PlainMessage<AgentDB_ListResponse> | undefined, b: AgentDB_ListResponse | PlainMessage<AgentDB_ListResponse> | undefined): boolean;
}

/**
 * One database, as get and list both report it.
 *
 * @generated from message livekit.AgentDB.AgentDatabase
 */
export declare class AgentDB_AgentDatabase extends Message<AgentDB_AgentDatabase> {
  /**
   * @generated from field: string database_id = 1;
   */
  databaseId: string;

  /**
   * @generated from field: string region = 2;
   */
  region: string;

  /**
   * @generated from field: int64 created_at = 3;
   */
  createdAt: bigint;

  /**
   * @generated from field: int64 expires_at = 4;
   */
  expiresAt: bigint;

  /**
   * @generated from field: int64 tip = 5;
   */
  tip: bigint;

  constructor(data?: PartialMessage<AgentDB_AgentDatabase>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.AgentDatabase";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_AgentDatabase;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_AgentDatabase;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_AgentDatabase;

  static equals(a: AgentDB_AgentDatabase | PlainMessage<AgentDB_AgentDatabase> | undefined, b: AgentDB_AgentDatabase | PlainMessage<AgentDB_AgentDatabase> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.DeleteRequest
 */
export declare class AgentDB_DeleteRequest extends Message<AgentDB_DeleteRequest> {
  /**
   * @generated from field: string database_id = 1;
   */
  databaseId: string;

  constructor(data?: PartialMessage<AgentDB_DeleteRequest>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.DeleteRequest";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_DeleteRequest;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_DeleteRequest;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_DeleteRequest;

  static equals(a: AgentDB_DeleteRequest | PlainMessage<AgentDB_DeleteRequest> | undefined, b: AgentDB_DeleteRequest | PlainMessage<AgentDB_DeleteRequest> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.DeleteResponse
 */
export declare class AgentDB_DeleteResponse extends Message<AgentDB_DeleteResponse> {
  constructor(data?: PartialMessage<AgentDB_DeleteResponse>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.DeleteResponse";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_DeleteResponse;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_DeleteResponse;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_DeleteResponse;

  static equals(a: AgentDB_DeleteResponse | PlainMessage<AgentDB_DeleteResponse> | undefined, b: AgentDB_DeleteResponse | PlainMessage<AgentDB_DeleteResponse> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.DumpRequest
 */
export declare class AgentDB_DumpRequest extends Message<AgentDB_DumpRequest> {
  /**
   * @generated from field: string database_id = 1;
   */
  databaseId: string;

  constructor(data?: PartialMessage<AgentDB_DumpRequest>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.DumpRequest";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_DumpRequest;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_DumpRequest;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_DumpRequest;

  static equals(a: AgentDB_DumpRequest | PlainMessage<AgentDB_DumpRequest> | undefined, b: AgentDB_DumpRequest | PlainMessage<AgentDB_DumpRequest> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.DumpResponse
 */
export declare class AgentDB_DumpResponse extends Message<AgentDB_DumpResponse> {
  /**
   * pre-authenticated object-storage URL
   *
   * @generated from field: string download_url = 1;
   */
  downloadUrl: string;

  /**
   * of the URL, not the database
   *
   * @generated from field: int64 expires_at = 2;
   */
  expiresAt: bigint;

  /**
   * what the dump is consistent at
   *
   * @generated from field: int64 tip = 3;
   */
  tip: bigint;

  constructor(data?: PartialMessage<AgentDB_DumpResponse>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.DumpResponse";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_DumpResponse;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_DumpResponse;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_DumpResponse;

  static equals(a: AgentDB_DumpResponse | PlainMessage<AgentDB_DumpResponse> | undefined, b: AgentDB_DumpResponse | PlainMessage<AgentDB_DumpResponse> | undefined): boolean;
}

/**
 * Data plane: one WebSocket per database, one message per frame, correlated
 * by a client-chosen request_id. Result batches are paced by Credit, so the
 * server never sends more un-consumed batches than granted.
 *
 * @generated from message livekit.AgentDB.Wire
 */
export declare class AgentDB_Wire extends Message<AgentDB_Wire> {
  constructor(data?: PartialMessage<AgentDB_Wire>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire;

  static equals(a: AgentDB_Wire | PlainMessage<AgentDB_Wire> | undefined, b: AgentDB_Wire | PlainMessage<AgentDB_Wire> | undefined): boolean;
}

/**
 * @generated from enum livekit.AgentDB.Wire.QueryLang
 */
export declare enum AgentDB_Wire_QueryLang {
  /**
   * @generated from enum value: SQL = 0;
   */
  SQL = 0,
}

/**
 * @generated from enum livekit.AgentDB.Wire.ValueType
 */
export declare enum AgentDB_Wire_ValueType {
  /**
   * @generated from enum value: NULL = 0;
   */
  NULL = 0,

  /**
   * @generated from enum value: INT = 1;
   */
  INT = 1,

  /**
   * @generated from enum value: DOUBLE = 2;
   */
  DOUBLE = 2,

  /**
   * @generated from enum value: TEXT = 3;
   */
  TEXT = 3,

  /**
   * @generated from enum value: BLOB = 4;
   */
  BLOB = 4,
}

/**
 * @generated from message livekit.AgentDB.Wire.ClientMessage
 */
export declare class AgentDB_Wire_ClientMessage extends Message<AgentDB_Wire_ClientMessage> {
  /**
   * @generated from field: uint32 request_id = 1;
   */
  requestId: number;

  /**
   * @generated from oneof livekit.AgentDB.Wire.ClientMessage.message
   */
  message: {
    /**
     * must be first on the socket
     *
     * @generated from field: livekit.AgentDB.Wire.Hello hello = 2;
     */
    value: AgentDB_Wire_Hello;
    case: "hello";
  } | {
    /**
     * answers ExecResult
     *
     * @generated from field: livekit.AgentDB.Wire.Statement exec = 3;
     */
    value: AgentDB_Wire_Statement;
    case: "exec";
  } | {
    /**
     * answers Columns + ColumnBatch* + Done
     *
     * @generated from field: livekit.AgentDB.Wire.Statement query = 4;
     */
    value: AgentDB_Wire_Statement;
    case: "query";
  } | {
    /**
     * @generated from field: livekit.AgentDB.Wire.Batch batch = 5;
     */
    value: AgentDB_Wire_Batch;
    case: "batch";
  } | {
    /**
     * @generated from field: livekit.AgentDB.Wire.Begin begin = 6;
     */
    value: AgentDB_Wire_Begin;
    case: "begin";
  } | {
    /**
     * @generated from field: livekit.AgentDB.Wire.Commit commit = 7;
     */
    value: AgentDB_Wire_Commit;
    case: "commit";
  } | {
    /**
     * @generated from field: livekit.AgentDB.Wire.Rollback rollback = 8;
     */
    value: AgentDB_Wire_Rollback;
    case: "rollback";
  } | {
    /**
     * @generated from field: livekit.AgentDB.Wire.Cancel cancel = 9;
     */
    value: AgentDB_Wire_Cancel;
    case: "cancel";
  } | {
    /**
     * @generated from field: livekit.AgentDB.Wire.Credit credit = 10;
     */
    value: AgentDB_Wire_Credit;
    case: "credit";
  } | {
    /**
     * @generated from field: livekit.AgentDB.Wire.Ping ping = 11;
     */
    value: AgentDB_Wire_Ping;
    case: "ping";
  } | { case: undefined; value?: undefined };

  constructor(data?: PartialMessage<AgentDB_Wire_ClientMessage>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire.ClientMessage";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_ClientMessage;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_ClientMessage;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_ClientMessage;

  static equals(a: AgentDB_Wire_ClientMessage | PlainMessage<AgentDB_Wire_ClientMessage> | undefined, b: AgentDB_Wire_ClientMessage | PlainMessage<AgentDB_Wire_ClientMessage> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.Wire.ServerMessage
 */
export declare class AgentDB_Wire_ServerMessage extends Message<AgentDB_Wire_ServerMessage> {
  /**
   * @generated from field: uint32 request_id = 1;
   */
  requestId: number;

  /**
   * @generated from oneof livekit.AgentDB.Wire.ServerMessage.message
   */
  message: {
    /**
     * @generated from field: livekit.AgentDB.Wire.HelloOk hello_ok = 2;
     */
    value: AgentDB_Wire_HelloOk;
    case: "helloOk";
  } | {
    /**
     * @generated from field: livekit.AgentDB.Wire.Columns columns = 3;
     */
    value: AgentDB_Wire_Columns;
    case: "columns";
  } | {
    /**
     * @generated from field: livekit.AgentDB.Wire.ColumnBatch column_batch = 4;
     */
    value: AgentDB_Wire_ColumnBatch;
    case: "columnBatch";
  } | {
    /**
     * @generated from field: livekit.AgentDB.Wire.ExecResult exec_result = 5;
     */
    value: AgentDB_Wire_ExecResult;
    case: "execResult";
  } | {
    /**
     * @generated from field: livekit.AgentDB.Wire.Done done = 6;
     */
    value: AgentDB_Wire_Done;
    case: "done";
  } | {
    /**
     * @generated from field: livekit.AgentDB.Wire.Error error = 7;
     */
    value: AgentDB_Wire_Error;
    case: "error";
  } | {
    /**
     * @generated from field: livekit.AgentDB.Wire.Pong pong = 8;
     */
    value: AgentDB_Wire_Pong;
    case: "pong";
  } | { case: undefined; value?: undefined };

  constructor(data?: PartialMessage<AgentDB_Wire_ServerMessage>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire.ServerMessage";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_ServerMessage;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_ServerMessage;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_ServerMessage;

  static equals(a: AgentDB_Wire_ServerMessage | PlainMessage<AgentDB_Wire_ServerMessage> | undefined, b: AgentDB_Wire_ServerMessage | PlainMessage<AgentDB_Wire_ServerMessage> | undefined): boolean;
}

/**
 * SQLite's five storage classes.
 *
 * @generated from message livekit.AgentDB.Wire.Value
 */
export declare class AgentDB_Wire_Value extends Message<AgentDB_Wire_Value> {
  /**
   * @generated from oneof livekit.AgentDB.Wire.Value.value
   */
  value: {
    /**
     * always true when set
     *
     * @generated from field: bool null_value = 1;
     */
    value: boolean;
    case: "nullValue";
  } | {
    /**
     * @generated from field: int64 int_value = 2;
     */
    value: bigint;
    case: "intValue";
  } | {
    /**
     * @generated from field: double double_value = 3;
     */
    value: number;
    case: "doubleValue";
  } | {
    /**
     * @generated from field: string text_value = 4;
     */
    value: string;
    case: "textValue";
  } | {
    /**
     * @generated from field: bytes blob_value = 5;
     */
    value: Uint8Array;
    case: "blobValue";
  } | { case: undefined; value?: undefined };

  constructor(data?: PartialMessage<AgentDB_Wire_Value>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire.Value";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Value;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Value;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Value;

  static equals(a: AgentDB_Wire_Value | PlainMessage<AgentDB_Wire_Value> | undefined, b: AgentDB_Wire_Value | PlainMessage<AgentDB_Wire_Value> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.Wire.Statement
 */
export declare class AgentDB_Wire_Statement extends Message<AgentDB_Wire_Statement> {
  /**
   * @generated from field: string sql = 1;
   */
  sql: string;

  /**
   * positional
   *
   * @generated from field: repeated livekit.AgentDB.Wire.Value params = 2;
   */
  params: AgentDB_Wire_Value[];

  /**
   * @generated from field: livekit.AgentDB.Wire.QueryLang lang = 3;
   */
  lang: AgentDB_Wire_QueryLang;

  constructor(data?: PartialMessage<AgentDB_Wire_Statement>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire.Statement";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Statement;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Statement;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Statement;

  static equals(a: AgentDB_Wire_Statement | PlainMessage<AgentDB_Wire_Statement> | undefined, b: AgentDB_Wire_Statement | PlainMessage<AgentDB_Wire_Statement> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.Wire.Batch
 */
export declare class AgentDB_Wire_Batch extends Message<AgentDB_Wire_Batch> {
  /**
   * applied atomically, in order
   *
   * @generated from field: repeated livekit.AgentDB.Wire.Statement statements = 1;
   */
  statements: AgentDB_Wire_Statement[];

  constructor(data?: PartialMessage<AgentDB_Wire_Batch>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire.Batch";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Batch;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Batch;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Batch;

  static equals(a: AgentDB_Wire_Batch | PlainMessage<AgentDB_Wire_Batch> | undefined, b: AgentDB_Wire_Batch | PlainMessage<AgentDB_Wire_Batch> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.Wire.Begin
 */
export declare class AgentDB_Wire_Begin extends Message<AgentDB_Wire_Begin> {
  constructor(data?: PartialMessage<AgentDB_Wire_Begin>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire.Begin";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Begin;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Begin;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Begin;

  static equals(a: AgentDB_Wire_Begin | PlainMessage<AgentDB_Wire_Begin> | undefined, b: AgentDB_Wire_Begin | PlainMessage<AgentDB_Wire_Begin> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.Wire.Commit
 */
export declare class AgentDB_Wire_Commit extends Message<AgentDB_Wire_Commit> {
  constructor(data?: PartialMessage<AgentDB_Wire_Commit>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire.Commit";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Commit;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Commit;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Commit;

  static equals(a: AgentDB_Wire_Commit | PlainMessage<AgentDB_Wire_Commit> | undefined, b: AgentDB_Wire_Commit | PlainMessage<AgentDB_Wire_Commit> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.Wire.Rollback
 */
export declare class AgentDB_Wire_Rollback extends Message<AgentDB_Wire_Rollback> {
  constructor(data?: PartialMessage<AgentDB_Wire_Rollback>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire.Rollback";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Rollback;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Rollback;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Rollback;

  static equals(a: AgentDB_Wire_Rollback | PlainMessage<AgentDB_Wire_Rollback> | undefined, b: AgentDB_Wire_Rollback | PlainMessage<AgentDB_Wire_Rollback> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.Wire.Cancel
 */
export declare class AgentDB_Wire_Cancel extends Message<AgentDB_Wire_Cancel> {
  constructor(data?: PartialMessage<AgentDB_Wire_Cancel>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire.Cancel";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Cancel;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Cancel;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Cancel;

  static equals(a: AgentDB_Wire_Cancel | PlainMessage<AgentDB_Wire_Cancel> | undefined, b: AgentDB_Wire_Cancel | PlainMessage<AgentDB_Wire_Cancel> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.Wire.Credit
 */
export declare class AgentDB_Wire_Credit extends Message<AgentDB_Wire_Credit> {
  /**
   * additional batches the client can absorb
   *
   * @generated from field: uint32 batches = 1;
   */
  batches: number;

  constructor(data?: PartialMessage<AgentDB_Wire_Credit>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire.Credit";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Credit;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Credit;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Credit;

  static equals(a: AgentDB_Wire_Credit | PlainMessage<AgentDB_Wire_Credit> | undefined, b: AgentDB_Wire_Credit | PlainMessage<AgentDB_Wire_Credit> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.Wire.Ping
 */
export declare class AgentDB_Wire_Ping extends Message<AgentDB_Wire_Ping> {
  /**
   * @generated from field: int64 timestamp_ms = 1;
   */
  timestampMs: bigint;

  constructor(data?: PartialMessage<AgentDB_Wire_Ping>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire.Ping";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Ping;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Ping;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Ping;

  static equals(a: AgentDB_Wire_Ping | PlainMessage<AgentDB_Wire_Ping> | undefined, b: AgentDB_Wire_Ping | PlainMessage<AgentDB_Wire_Ping> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.Wire.Pong
 */
export declare class AgentDB_Wire_Pong extends Message<AgentDB_Wire_Pong> {
  /**
   * @generated from field: int64 last_ping_timestamp_ms = 1;
   */
  lastPingTimestampMs: bigint;

  /**
   * @generated from field: int64 timestamp_ms = 2;
   */
  timestampMs: bigint;

  constructor(data?: PartialMessage<AgentDB_Wire_Pong>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire.Pong";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Pong;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Pong;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Pong;

  static equals(a: AgentDB_Wire_Pong | PlainMessage<AgentDB_Wire_Pong> | undefined, b: AgentDB_Wire_Pong | PlainMessage<AgentDB_Wire_Pong> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.Wire.Hello
 */
export declare class AgentDB_Wire_Hello extends Message<AgentDB_Wire_Hello> {
  /**
   * @generated from field: string token = 1;
   */
  token: string;

  /**
   * @generated from field: string database_id = 2;
   */
  databaseId: string;

  constructor(data?: PartialMessage<AgentDB_Wire_Hello>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire.Hello";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Hello;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Hello;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Hello;

  static equals(a: AgentDB_Wire_Hello | PlainMessage<AgentDB_Wire_Hello> | undefined, b: AgentDB_Wire_Hello | PlainMessage<AgentDB_Wire_Hello> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.Wire.HelloOk
 */
export declare class AgentDB_Wire_HelloOk extends Message<AgentDB_Wire_HelloOk> {
  /**
   * @generated from field: int64 tip = 1;
   */
  tip: bigint;

  /**
   * @generated from field: uint32 ping_interval_ms = 2;
   */
  pingIntervalMs: number;

  /**
   * @generated from field: uint32 ping_timeout_ms = 3;
   */
  pingTimeoutMs: number;

  constructor(data?: PartialMessage<AgentDB_Wire_HelloOk>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire.HelloOk";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_HelloOk;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_HelloOk;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_HelloOk;

  static equals(a: AgentDB_Wire_HelloOk | PlainMessage<AgentDB_Wire_HelloOk> | undefined, b: AgentDB_Wire_HelloOk | PlainMessage<AgentDB_Wire_HelloOk> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.Wire.Columns
 */
export declare class AgentDB_Wire_Columns extends Message<AgentDB_Wire_Columns> {
  /**
   * @generated from field: repeated string names = 1;
   */
  names: string[];

  constructor(data?: PartialMessage<AgentDB_Wire_Columns>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire.Columns";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Columns;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Columns;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Columns;

  static equals(a: AgentDB_Wire_Columns | PlainMessage<AgentDB_Wire_Columns> | undefined, b: AgentDB_Wire_Columns | PlainMessage<AgentDB_Wire_Columns> | undefined): boolean;
}

/**
 * Values are typed per row, as SQLite types them, so a column may mix
 * classes: walk `types` and take the next entry from the matching array. Text
 * and blobs are concatenated with one exclusive end offset each, so value i
 * is data[ends[i-1]:ends[i]] with 0 implied before the first. A NULL occupies
 * a tag only.
 *
 * @generated from message livekit.AgentDB.Wire.Column
 */
export declare class AgentDB_Wire_Column extends Message<AgentDB_Wire_Column> {
  /**
   * one ValueType per row
   *
   * @generated from field: bytes types = 1;
   */
  types: Uint8Array;

  /**
   * @generated from field: repeated sint64 ints = 2;
   */
  ints: bigint[];

  /**
   * @generated from field: repeated double doubles = 3;
   */
  doubles: number[];

  /**
   * @generated from field: bytes text_data = 4;
   */
  textData: Uint8Array;

  /**
   * @generated from field: repeated uint32 text_ends = 5;
   */
  textEnds: number[];

  /**
   * @generated from field: bytes blob_data = 6;
   */
  blobData: Uint8Array;

  /**
   * @generated from field: repeated uint32 blob_ends = 7;
   */
  blobEnds: number[];

  constructor(data?: PartialMessage<AgentDB_Wire_Column>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire.Column";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Column;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Column;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Column;

  static equals(a: AgentDB_Wire_Column | PlainMessage<AgentDB_Wire_Column> | undefined, b: AgentDB_Wire_Column | PlainMessage<AgentDB_Wire_Column> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.Wire.ColumnBatch
 */
export declare class AgentDB_Wire_ColumnBatch extends Message<AgentDB_Wire_ColumnBatch> {
  /**
   * one per name in Columns
   *
   * @generated from field: repeated livekit.AgentDB.Wire.Column columns = 1;
   */
  columns: AgentDB_Wire_Column[];

  /**
   * @generated from field: uint32 rows = 2;
   */
  rows: number;

  constructor(data?: PartialMessage<AgentDB_Wire_ColumnBatch>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire.ColumnBatch";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_ColumnBatch;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_ColumnBatch;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_ColumnBatch;

  static equals(a: AgentDB_Wire_ColumnBatch | PlainMessage<AgentDB_Wire_ColumnBatch> | undefined, b: AgentDB_Wire_ColumnBatch | PlainMessage<AgentDB_Wire_ColumnBatch> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.Wire.ExecResult
 */
export declare class AgentDB_Wire_ExecResult extends Message<AgentDB_Wire_ExecResult> {
  /**
   * @generated from field: int64 rows_affected = 1;
   */
  rowsAffected: bigint;

  /**
   * @generated from field: int64 last_insert_id = 2;
   */
  lastInsertId: bigint;

  /**
   * @generated from field: int64 tip = 3;
   */
  tip: bigint;

  constructor(data?: PartialMessage<AgentDB_Wire_ExecResult>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire.ExecResult";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_ExecResult;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_ExecResult;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_ExecResult;

  static equals(a: AgentDB_Wire_ExecResult | PlainMessage<AgentDB_Wire_ExecResult> | undefined, b: AgentDB_Wire_ExecResult | PlainMessage<AgentDB_Wire_ExecResult> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.Wire.Done
 */
export declare class AgentDB_Wire_Done extends Message<AgentDB_Wire_Done> {
  /**
   * the snapshot the query ran at
   *
   * @generated from field: int64 tip = 1;
   */
  tip: bigint;

  /**
   * @generated from field: uint64 total_rows = 2;
   */
  totalRows: bigint;

  constructor(data?: PartialMessage<AgentDB_Wire_Done>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire.Done";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Done;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Done;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Done;

  static equals(a: AgentDB_Wire_Done | PlainMessage<AgentDB_Wire_Done> | undefined, b: AgentDB_Wire_Done | PlainMessage<AgentDB_Wire_Done> | undefined): boolean;
}

/**
 * @generated from message livekit.AgentDB.Wire.Error
 */
export declare class AgentDB_Wire_Error extends Message<AgentDB_Wire_Error> {
  /**
   * stable, machine-readable
   *
   * @generated from field: string code = 1;
   */
  code: string;

  /**
   * @generated from field: string message = 2;
   */
  message: string;

  constructor(data?: PartialMessage<AgentDB_Wire_Error>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.AgentDB.Wire.Error";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Error;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Error;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Error;

  static equals(a: AgentDB_Wire_Error | PlainMessage<AgentDB_Wire_Error> | undefined, b: AgentDB_Wire_Error | PlainMessage<AgentDB_Wire_Error> | undefined): boolean;
}

