import { DefaultValues } from "../schema.js"; import { BaseClient, ClientConfig, HeaderValue, RequestHook, getApiKey } from "./base.js"; import { AssistantsClient } from "./assistants/index.js"; import { ClientAssembledToolCall, ToolCallStatus } from "./stream/handles/tools.js"; import { AssembledMessage, MessageAssembler, MessageAssemblyUpdate, StreamingMessage } from "./stream/messages.js"; import { AnyMediaHandle, AudioMedia, FileMedia, ImageMedia, MediaAssembler, MediaAssemblerCallbacks, MediaAssemblerOptions, MediaAssemblyError, MediaAssemblyErrorKind, MediaBase, MediaBlockType, VideoMedia } from "./stream/media.js"; import { AgentServerAdapter, TransportAdapter } from "./stream/transport.js"; import { EventForChannel, EventForChannels, EventMethodByChannel, EventSubscription, InputModule, InterruptPayload, MessageSubscription, SessionOrderingState, StateModule, SubscribeOptions, ThreadExtension, ThreadExtensions, ThreadModules, ThreadStreamOptions, ThreadStreamTransport, ThreadStreamTransportKind, UnwrapExtension } from "./stream/types.js"; import { SubagentHandle } from "./stream/handles/subagents.js"; import { SubgraphHandle, Subscribable } from "./stream/handles/subgraphs.js"; import { inferChannel, matchesSubscription } from "./stream/subscription.js"; import { ProtocolError } from "./stream/error.js"; import { SubscriptionHandle, ThreadStream } from "./stream/index.js"; import { ThreadsClient } from "./threads/index.js"; import { RunsClient } from "./runs/index.js"; import { CronsClient } from "./crons/index.js"; import { StoreClient } from "./store/index.js"; import { UiClient } from "./ui-internal/index.js"; import { HeaderValue as HeaderValue$1, ProtocolRequestHook, ProtocolSseTransportOptions, ProtocolTransportPaths, ProtocolWebSocketTransportOptions } from "./stream/transport/types.js"; import { ProtocolSseTransportAdapter } from "./stream/transport/http.js"; import { ProtocolWebSocketTransportAdapter } from "./stream/transport/websocket.js"; import { HttpAgentServerAdapter, HttpAgentServerAdapterOptions } from "./stream/transport/agent-server.js"; //#region src/client/index.d.ts declare class Client { /** * The client for interacting with assistants. */ assistants: AssistantsClient; /** * The client for interacting with threads. */ threads: ThreadsClient; /** * The client for interacting with runs. */ runs: RunsClient; /** * The client for interacting with cron runs. */ crons: CronsClient; /** * The client for interacting with the KV store. */ store: StoreClient; /** * The client for interacting with the UI. * @internal Used by LoadExternalComponent and the API might change in the future. */ "~ui": UiClient; /** * @internal Used to obtain a stable key representing the client. */ private "~configHash"; constructor(config?: ClientConfig); } /** * @internal Used to obtain a stable key representing the client. */ declare function getClientConfigHash(client: Client): string | undefined; //#endregion export { Client, getClientConfigHash }; //# sourceMappingURL=index.d.ts.map