/** * Main entry point for the ZRT SDK (`import ... from "@zrt/js-sdk"`). Re-exports the * most commonly used agent APIs (Agent, AgentSession, the STT/LLM/TTS providers, * and more) so they can be imported directly from the package root. The full agent * surface is also available under `@zrt/js-sdk/agents`. */ export { version } from './version.js'; import { version } from './version.js'; /** Options for {@link PubSubPublishConfig}. */ export type PubSubPublishConfigInit = { /** The pub/sub topic to publish to, e.g. `"CHAT"` or `"AGENT_EVENT"`. Required. */ topic: string; /** The message body to publish. Defaults to `""`. */ message?: string; /** * Optional publish options forwarded to the room (e.g. `{ persist: true }` to also * persist the message to the topic's history). Defaults to `null`. */ options?: Record | null; /** An optional structured payload sent alongside `message`. Defaults to `null`. */ payload?: unknown; }; declare class PubSubPublishConfigImpl { topic: string; message: string; options: Record | null; payload: unknown; constructor(init: PubSubPublishConfigInit); } /** * Describes a message to publish on a room's pub/sub topic. Request persistence * through `options` (e.g. `{ persist: true }`). */ export type PubSubPublishConfig = PubSubPublishConfigImpl; /** Build a {@link PubSubPublishConfig}. */ export declare const PubSubPublishConfig: (init: PubSubPublishConfigInit) => PubSubPublishConfig; export * from './agents/index.js'; import * as agentsNamespace from './agents/index.js'; declare const zrt: typeof agentsNamespace & { version: typeof version; PubSubPublishConfig: typeof PubSubPublishConfig; }; export default zrt;