import { Type } from "typebox"; /** * Channel and Talk protocol schemas. * * Talk schemas are consumed by browser realtime clients, gateway relay sessions, * and channel adapters, so the mode/transport/brain unions below are shared * API vocabulary rather than provider-local implementation details. */ /** Toggles Talk mode for the gateway, with an optional rollout phase marker. */ export declare const TalkModeParamsSchema: Type.TObject<{ enabled: Type.TBoolean; phase: Type.TOptional; }>; /** Reads Talk configuration; secrets are included only for trusted callers. */ export declare const TalkConfigParamsSchema: Type.TObject<{ includeSecrets: Type.TOptional; }>; /** One-shot text-to-speech request with provider-specific voice tuning knobs. */ export declare const TalkSpeakParamsSchema: Type.TObject<{ text: Type.TString; voiceId: Type.TOptional; modelId: Type.TOptional; outputFormat: Type.TOptional; speed: Type.TOptional; rateWpm: Type.TOptional; stability: Type.TOptional; similarity: Type.TOptional; style: Type.TOptional; speakerBoost: Type.TOptional; seed: Type.TOptional; normalize: Type.TOptional; language: Type.TOptional; latencyTier: Type.TOptional; }>; /** Canonical Talk event envelope emitted to browser, relay, and channel consumers. */ export declare const TalkEventSchema: Type.TObject<{ id: Type.TString; type: Type.TUnion<[Type.TLiteral<"session.started">, Type.TLiteral<"session.ready">, Type.TLiteral<"session.closed">, Type.TLiteral<"session.error">, Type.TLiteral<"session.replaced">, Type.TLiteral<"turn.started">, Type.TLiteral<"turn.ended">, Type.TLiteral<"turn.cancelled">, Type.TLiteral<"capture.started">, Type.TLiteral<"capture.stopped">, Type.TLiteral<"capture.cancelled">, Type.TLiteral<"capture.once">, Type.TLiteral<"input.audio.delta">, Type.TLiteral<"input.audio.committed">, Type.TLiteral<"transcript.delta">, Type.TLiteral<"transcript.done">, Type.TLiteral<"output.text.delta">, Type.TLiteral<"output.text.done">, Type.TLiteral<"output.audio.started">, Type.TLiteral<"output.audio.delta">, Type.TLiteral<"output.audio.done">, Type.TLiteral<"tool.call">, Type.TLiteral<"tool.progress">, Type.TLiteral<"tool.result">, Type.TLiteral<"tool.error">, Type.TLiteral<"usage.metrics">, Type.TLiteral<"latency.metrics">, Type.TLiteral<"health.changed">]>; sessionId: Type.TString; turnId: Type.TOptional; captureId: Type.TOptional; seq: Type.TInteger; timestamp: Type.TString; mode: Type.TUnion<[Type.TLiteral<"realtime">, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>; transport: Type.TUnion<[Type.TLiteral<"webrtc">, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>; brain: Type.TUnion<[Type.TLiteral<"agent-consult">, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>; provider: Type.TOptional; final: Type.TOptional; callId: Type.TOptional; itemId: Type.TOptional; parentId: Type.TOptional; payload: Type.TUnknown; }>; /** Creates a browser-facing Talk client session. */ export declare const TalkClientCreateParamsSchema: Type.TObject<{ sessionKey: Type.TOptional; provider: Type.TOptional; model: Type.TOptional; voice: Type.TOptional; vadThreshold: Type.TOptional; silenceDurationMs: Type.TOptional; prefixPaddingMs: Type.TOptional; reasoningEffort: Type.TOptional; mode: Type.TOptional, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>>; transport: Type.TOptional, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>>; brain: Type.TOptional, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>>; }>; /** Tool-call request from a browser/client session back into the agent runtime. */ export declare const TalkClientToolCallParamsSchema: Type.TObject<{ sessionKey: Type.TString; callId: Type.TString; name: Type.TString; args: Type.TOptional; relaySessionId: Type.TOptional; }>; /** Agent run identity returned after accepting a Talk client tool call. */ export declare const TalkClientToolCallResultSchema: Type.TObject<{ runId: Type.TString; idempotencyKey: Type.TString; }>; /** Text steering request for a Talk session bound to an agent turn. */ export declare const TalkClientSteerParamsSchema: Type.TObject<{ sessionKey: Type.TString; text: Type.TString; mode: Type.TOptional, Type.TLiteral<"steer">, Type.TLiteral<"cancel">, Type.TLiteral<"followup">]>>; }>; /** Result of applying agent control to an embedded or reply-backed Talk run. */ export declare const TalkAgentControlResultSchema: Type.TObject<{ ok: Type.TBoolean; mode: Type.TUnion<[Type.TLiteral<"status">, Type.TLiteral<"steer">, Type.TLiteral<"cancel">, Type.TLiteral<"followup">]>; sessionKey: Type.TString; sessionId: Type.TOptional; active: Type.TBoolean; queued: Type.TOptional; aborted: Type.TOptional; target: Type.TOptional, Type.TLiteral<"reply_run">]>>; reason: Type.TOptional; message: Type.TString; speak: Type.TBoolean; show: Type.TBoolean; suppress: Type.TBoolean; providerResult: Type.TOptional; message: Type.TString; }>>; enqueuedAtMs: Type.TOptional; deliveredAtMs: Type.TOptional; }>; /** Joins an existing managed-room Talk session. */ export declare const TalkSessionJoinParamsSchema: Type.TObject<{ sessionId: Type.TString; token: Type.TString; }>; /** Creates a gateway-managed Talk session for realtime, transcription, or relay use. */ export declare const TalkSessionCreateParamsSchema: Type.TObject<{ sessionKey: Type.TOptional; spawnedBy: Type.TOptional; provider: Type.TOptional; model: Type.TOptional; voice: Type.TOptional; vadThreshold: Type.TOptional; silenceDurationMs: Type.TOptional; prefixPaddingMs: Type.TOptional; reasoningEffort: Type.TOptional; mode: Type.TOptional, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>>; transport: Type.TOptional, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>>; brain: Type.TOptional, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>>; ttlMs: Type.TOptional; }>; /** Appends base64 audio to an active Talk session. */ export declare const TalkSessionAppendAudioParamsSchema: Type.TObject<{ sessionId: Type.TString; audioBase64: Type.TString; timestamp: Type.TOptional; }>; /** Starts or advances a Talk turn within a session. */ export declare const TalkSessionTurnParamsSchema: Type.TObject<{ sessionId: Type.TString; turnId: Type.TOptional; }>; /** Cancels the active or named Talk turn. */ export declare const TalkSessionCancelTurnParamsSchema: Type.TObject<{ sessionId: Type.TString; turnId: Type.TOptional; reason: Type.TOptional; }>; /** Cancels currently streaming Talk output without necessarily ending the turn. */ export declare const TalkSessionCancelOutputParamsSchema: Type.TObject<{ sessionId: Type.TString; turnId: Type.TOptional; reason: Type.TOptional; }>; /** Submits a tool result back to a Talk provider session. */ export declare const TalkSessionSubmitToolResultParamsSchema: Type.TObject<{ sessionId: Type.TString; callId: Type.TString; result: Type.TUnknown; options: Type.TOptional; willContinue: Type.TOptional; }>>; }>; /** Steers a managed Talk session by session id rather than transcript key. */ export declare const TalkSessionSteerParamsSchema: Type.TObject<{ sessionId: Type.TString; sessionKey: Type.TOptional; text: Type.TString; mode: Type.TOptional, Type.TLiteral<"steer">, Type.TLiteral<"cancel">, Type.TLiteral<"followup">]>>; }>; /** Closes a gateway-managed Talk session. */ export declare const TalkSessionCloseParamsSchema: Type.TObject<{ sessionId: Type.TString; }>; /** Empty request payload for reading configured Talk provider capabilities. */ export declare const TalkCatalogParamsSchema: Type.TObject<{}>; /** Provider, mode, transport, and audio-format catalog returned to clients. */ export declare const TalkCatalogResultSchema: Type.TObject<{ modes: Type.TArray, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>>; transports: Type.TArray, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>>; brains: Type.TArray, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>>; speech: Type.TObject<{ activeProvider: Type.TOptional; providers: Type.TArray>; voices: Type.TOptional>; defaultModel: Type.TOptional; modes: Type.TOptional, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>>>; transports: Type.TOptional, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>>>; brains: Type.TOptional, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>>>; inputAudioFormats: Type.TOptional, Type.TLiteral<"g711_ulaw">]>; sampleRateHz: Type.TInteger; channels: Type.TInteger; }>>>; outputAudioFormats: Type.TOptional, Type.TLiteral<"g711_ulaw">]>; sampleRateHz: Type.TInteger; channels: Type.TInteger; }>>>; supportsBrowserSession: Type.TOptional; supportsBargeIn: Type.TOptional; supportsToolCalls: Type.TOptional; supportsVideoFrames: Type.TOptional; supportsSessionResumption: Type.TOptional; }>>; }>; transcription: Type.TObject<{ activeProvider: Type.TOptional; providers: Type.TArray>; voices: Type.TOptional>; defaultModel: Type.TOptional; modes: Type.TOptional, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>>>; transports: Type.TOptional, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>>>; brains: Type.TOptional, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>>>; inputAudioFormats: Type.TOptional, Type.TLiteral<"g711_ulaw">]>; sampleRateHz: Type.TInteger; channels: Type.TInteger; }>>>; outputAudioFormats: Type.TOptional, Type.TLiteral<"g711_ulaw">]>; sampleRateHz: Type.TInteger; channels: Type.TInteger; }>>>; supportsBrowserSession: Type.TOptional; supportsBargeIn: Type.TOptional; supportsToolCalls: Type.TOptional; supportsVideoFrames: Type.TOptional; supportsSessionResumption: Type.TOptional; }>>; }>; realtime: Type.TObject<{ activeProvider: Type.TOptional; providers: Type.TArray>; voices: Type.TOptional>; defaultModel: Type.TOptional; modes: Type.TOptional, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>>>; transports: Type.TOptional, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>>>; brains: Type.TOptional, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>>>; inputAudioFormats: Type.TOptional, Type.TLiteral<"g711_ulaw">]>; sampleRateHz: Type.TInteger; channels: Type.TInteger; }>>>; outputAudioFormats: Type.TOptional, Type.TLiteral<"g711_ulaw">]>; sampleRateHz: Type.TInteger; channels: Type.TInteger; }>>>; supportsBrowserSession: Type.TOptional; supportsBargeIn: Type.TOptional; supportsToolCalls: Type.TOptional; supportsVideoFrames: Type.TOptional; supportsSessionResumption: Type.TOptional; }>>; }>; }>; /** Session creation result with transport-specific ids and credentials. */ export declare const TalkSessionCreateResultSchema: Type.TObject<{ sessionId: Type.TString; provider: Type.TOptional; mode: Type.TUnion<[Type.TLiteral<"realtime">, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>; transport: Type.TUnion<[Type.TLiteral<"webrtc">, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>; brain: Type.TUnion<[Type.TLiteral<"agent-consult">, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>; relaySessionId: Type.TOptional; transcriptionSessionId: Type.TOptional; handoffId: Type.TOptional; roomId: Type.TOptional; roomUrl: Type.TOptional; token: Type.TOptional; audio: Type.TOptional; model: Type.TOptional; voice: Type.TOptional; expiresAt: Type.TOptional; }>; /** Result for a Talk turn request, optionally including emitted events. */ export declare const TalkSessionTurnResultSchema: Type.TObject<{ ok: Type.TBoolean; turnId: Type.TOptional; events: Type.TOptional, Type.TLiteral<"session.ready">, Type.TLiteral<"session.closed">, Type.TLiteral<"session.error">, Type.TLiteral<"session.replaced">, Type.TLiteral<"turn.started">, Type.TLiteral<"turn.ended">, Type.TLiteral<"turn.cancelled">, Type.TLiteral<"capture.started">, Type.TLiteral<"capture.stopped">, Type.TLiteral<"capture.cancelled">, Type.TLiteral<"capture.once">, Type.TLiteral<"input.audio.delta">, Type.TLiteral<"input.audio.committed">, Type.TLiteral<"transcript.delta">, Type.TLiteral<"transcript.done">, Type.TLiteral<"output.text.delta">, Type.TLiteral<"output.text.done">, Type.TLiteral<"output.audio.started">, Type.TLiteral<"output.audio.delta">, Type.TLiteral<"output.audio.done">, Type.TLiteral<"tool.call">, Type.TLiteral<"tool.progress">, Type.TLiteral<"tool.result">, Type.TLiteral<"tool.error">, Type.TLiteral<"usage.metrics">, Type.TLiteral<"latency.metrics">, Type.TLiteral<"health.changed">]>; sessionId: Type.TString; turnId: Type.TOptional; captureId: Type.TOptional; seq: Type.TInteger; timestamp: Type.TString; mode: Type.TUnion<[Type.TLiteral<"realtime">, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>; transport: Type.TUnion<[Type.TLiteral<"webrtc">, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>; brain: Type.TUnion<[Type.TLiteral<"agent-consult">, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>; provider: Type.TOptional; final: Type.TOptional; callId: Type.TOptional; itemId: Type.TOptional; parentId: Type.TOptional; payload: Type.TUnknown; }>>>; }>; /** Managed-room record returned to clients after joining an existing Talk session. */ export declare const TalkSessionJoinResultSchema: Type.TObject<{ id: Type.TString; roomId: Type.TString; roomUrl: Type.TString; sessionKey: Type.TString; sessionId: Type.TOptional; channel: Type.TOptional; target: Type.TOptional; provider: Type.TOptional; model: Type.TOptional; voice: Type.TOptional; mode: Type.TUnion<[Type.TLiteral<"realtime">, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>; transport: Type.TUnion<[Type.TLiteral<"webrtc">, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>; brain: Type.TUnion<[Type.TLiteral<"agent-consult">, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>; createdAt: Type.TNumber; expiresAt: Type.TNumber; room: Type.TObject<{ activeClientId: Type.TOptional; activeTurnId: Type.TOptional; recentTalkEvents: Type.TArray, Type.TLiteral<"session.ready">, Type.TLiteral<"session.closed">, Type.TLiteral<"session.error">, Type.TLiteral<"session.replaced">, Type.TLiteral<"turn.started">, Type.TLiteral<"turn.ended">, Type.TLiteral<"turn.cancelled">, Type.TLiteral<"capture.started">, Type.TLiteral<"capture.stopped">, Type.TLiteral<"capture.cancelled">, Type.TLiteral<"capture.once">, Type.TLiteral<"input.audio.delta">, Type.TLiteral<"input.audio.committed">, Type.TLiteral<"transcript.delta">, Type.TLiteral<"transcript.done">, Type.TLiteral<"output.text.delta">, Type.TLiteral<"output.text.done">, Type.TLiteral<"output.audio.started">, Type.TLiteral<"output.audio.delta">, Type.TLiteral<"output.audio.done">, Type.TLiteral<"tool.call">, Type.TLiteral<"tool.progress">, Type.TLiteral<"tool.result">, Type.TLiteral<"tool.error">, Type.TLiteral<"usage.metrics">, Type.TLiteral<"latency.metrics">, Type.TLiteral<"health.changed">]>; sessionId: Type.TString; turnId: Type.TOptional; captureId: Type.TOptional; seq: Type.TInteger; timestamp: Type.TString; mode: Type.TUnion<[Type.TLiteral<"realtime">, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>; transport: Type.TUnion<[Type.TLiteral<"webrtc">, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>; brain: Type.TUnion<[Type.TLiteral<"agent-consult">, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>; provider: Type.TOptional; final: Type.TOptional; callId: Type.TOptional; itemId: Type.TOptional; parentId: Type.TOptional; payload: Type.TUnknown; }>>; }>; }>; /** Generic success result for Talk session lifecycle calls. */ export declare const TalkSessionOkResultSchema: Type.TObject<{ ok: Type.TBoolean; }>; /** Union of all browser Talk session setup payloads. */ export declare const TalkClientCreateResultSchema: Type.TUnion<[Type.TObject<{ provider: Type.TString; transport: Type.TLiteral<"webrtc">; clientSecret: Type.TString; offerUrl: Type.TOptional; offerHeaders: Type.TOptional>; model: Type.TOptional; voice: Type.TOptional; expiresAt: Type.TOptional; }>, Type.TObject<{ provider: Type.TString; transport: Type.TLiteral<"provider-websocket">; protocol: Type.TString; clientSecret: Type.TString; websocketUrl: Type.TString; audio: Type.TObject<{ inputEncoding: Type.TUnion<[Type.TLiteral<"pcm16">, Type.TLiteral<"g711_ulaw">]>; inputSampleRateHz: Type.TInteger; outputEncoding: Type.TUnion<[Type.TLiteral<"pcm16">, Type.TLiteral<"g711_ulaw">]>; outputSampleRateHz: Type.TInteger; }>; initialMessage: Type.TOptional; model: Type.TOptional; voice: Type.TOptional; expiresAt: Type.TOptional; }>, Type.TObject<{ provider: Type.TString; transport: Type.TLiteral<"gateway-relay">; relaySessionId: Type.TString; audio: Type.TObject<{ inputEncoding: Type.TUnion<[Type.TLiteral<"pcm16">, Type.TLiteral<"g711_ulaw">]>; inputSampleRateHz: Type.TInteger; outputEncoding: Type.TUnion<[Type.TLiteral<"pcm16">, Type.TLiteral<"g711_ulaw">]>; outputSampleRateHz: Type.TInteger; }>; model: Type.TOptional; voice: Type.TOptional; expiresAt: Type.TOptional; }>, Type.TObject<{ provider: Type.TString; transport: Type.TLiteral<"managed-room">; roomUrl: Type.TString; token: Type.TOptional; model: Type.TOptional; voice: Type.TOptional; expiresAt: Type.TOptional; }>]>; /** Full Talk config read result, including related session/UI context. */ export declare const TalkConfigResultSchema: Type.TObject<{ config: Type.TObject<{ talk: Type.TOptional; providers: Type.TOptional; provider: Type.TString; id: Type.TString; }>, Type.TObject<{ source: Type.TLiteral<"file">; provider: Type.TString; id: Type.TUnsafe; }>, Type.TObject<{ source: Type.TLiteral<"exec">; provider: Type.TString; id: Type.TString; }>]>]>>; }>>>; realtime: Type.TOptional; providers: Type.TOptional; provider: Type.TString; id: Type.TString; }>, Type.TObject<{ source: Type.TLiteral<"file">; provider: Type.TString; id: Type.TUnsafe; }>, Type.TObject<{ source: Type.TLiteral<"exec">; provider: Type.TString; id: Type.TString; }>]>]>>; }>>>; model: Type.TOptional; speakerVoice: Type.TOptional; speakerVoiceId: Type.TOptional; voice: Type.TOptional; instructions: Type.TOptional; mode: Type.TOptional, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>>; transport: Type.TOptional, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>>; brain: Type.TOptional, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>>; }>>; resolved: Type.TOptional; provider: Type.TString; id: Type.TString; }>, Type.TObject<{ source: Type.TLiteral<"file">; provider: Type.TString; id: Type.TUnsafe; }>, Type.TObject<{ source: Type.TLiteral<"exec">; provider: Type.TString; id: Type.TString; }>]>]>>; }>; }>>; consultThinkingLevel: Type.TOptional; consultFastMode: Type.TOptional; speechLocale: Type.TOptional; interruptOnSpeech: Type.TOptional; silenceTimeoutMs: Type.TOptional; }>>; session: Type.TOptional; }>>; ui: Type.TOptional; }>>; }>; }>; /** Text-to-speech result with encoded audio and provider output metadata. */ export declare const TalkSpeakResultSchema: Type.TObject<{ audioBase64: Type.TString; provider: Type.TString; outputFormat: Type.TOptional; voiceCompatible: Type.TOptional; mimeType: Type.TOptional; fileExtension: Type.TOptional; }>; /** Channel status request, optionally probing one channel before returning. */ export declare const ChannelsStatusParamsSchema: Type.TObject<{ probe: Type.TOptional; timeoutMs: Type.TOptional; channel: Type.TOptional; }>; /** * Per-account status snapshot for channel docking. * * This is intentionally schema-light so new channel-specific metadata can ship * without a gateway protocol update; known fields stay documented for UI use. */ export declare const ChannelAccountSnapshotSchema: Type.TObject<{ accountId: Type.TString; name: Type.TOptional; enabled: Type.TOptional; configured: Type.TOptional; linked: Type.TOptional; running: Type.TOptional; connected: Type.TOptional; reconnectAttempts: Type.TOptional; lastConnectedAt: Type.TOptional; lastError: Type.TOptional; healthState: Type.TOptional; lastStartAt: Type.TOptional; lastStopAt: Type.TOptional; lastInboundAt: Type.TOptional; lastOutboundAt: Type.TOptional; lastTransportActivityAt: Type.TOptional; busy: Type.TOptional; activeRuns: Type.TOptional; lastRunActivityAt: Type.TOptional; lastProbeAt: Type.TOptional; mode: Type.TOptional; dmPolicy: Type.TOptional; allowFrom: Type.TOptional>; tokenSource: Type.TOptional; botTokenSource: Type.TOptional; appTokenSource: Type.TOptional; baseUrl: Type.TOptional; allowUnmentionedGroups: Type.TOptional; cliPath: Type.TOptional>; dbPath: Type.TOptional>; port: Type.TOptional>; probe: Type.TOptional; audit: Type.TOptional; application: Type.TOptional; }>; /** UI label and icon metadata for one channel. */ export declare const ChannelUiMetaSchema: Type.TObject<{ id: Type.TString; label: Type.TString; detailLabel: Type.TString; systemImage: Type.TOptional; }>; /** Event-loop health snapshot included with channel status responses. */ export declare const ChannelEventLoopHealthSchema: Type.TObject<{ degraded: Type.TBoolean; reasons: Type.TArray, Type.TLiteral<"event_loop_utilization">, Type.TLiteral<"cpu">]>>; intervalMs: Type.TInteger; delayP99Ms: Type.TNumber; delayMaxMs: Type.TNumber; utilization: Type.TNumber; cpuCoreRatio: Type.TNumber; }>; /** Full channel status result for dashboard and operator diagnostics. */ export declare const ChannelsStatusResultSchema: Type.TObject<{ ts: Type.TInteger; channelOrder: Type.TArray; channelLabels: Type.TRecord<"^.*$", Type.TString>; channelDetailLabels: Type.TOptional>; channelSystemImages: Type.TOptional>; channelMeta: Type.TOptional; }>>>; channels: Type.TRecord<"^.*$", Type.TUnknown>; channelAccounts: Type.TRecord<"^.*$", Type.TArray; enabled: Type.TOptional; configured: Type.TOptional; linked: Type.TOptional; running: Type.TOptional; connected: Type.TOptional; reconnectAttempts: Type.TOptional; lastConnectedAt: Type.TOptional; lastError: Type.TOptional; healthState: Type.TOptional; lastStartAt: Type.TOptional; lastStopAt: Type.TOptional; lastInboundAt: Type.TOptional; lastOutboundAt: Type.TOptional; lastTransportActivityAt: Type.TOptional; busy: Type.TOptional; activeRuns: Type.TOptional; lastRunActivityAt: Type.TOptional; lastProbeAt: Type.TOptional; mode: Type.TOptional; dmPolicy: Type.TOptional; allowFrom: Type.TOptional>; tokenSource: Type.TOptional; botTokenSource: Type.TOptional; appTokenSource: Type.TOptional; baseUrl: Type.TOptional; allowUnmentionedGroups: Type.TOptional; cliPath: Type.TOptional>; dbPath: Type.TOptional>; port: Type.TOptional>; probe: Type.TOptional; audit: Type.TOptional; application: Type.TOptional; }>>>; channelDefaultAccountId: Type.TRecord<"^.*$", Type.TString>; eventLoop: Type.TOptional, Type.TLiteral<"event_loop_utilization">, Type.TLiteral<"cpu">]>>; intervalMs: Type.TInteger; delayP99Ms: Type.TNumber; delayMaxMs: Type.TNumber; utilization: Type.TNumber; cpuCoreRatio: Type.TNumber; }>>; partial: Type.TOptional; warnings: Type.TOptional>; }>; /** Logs out one channel account. */ export declare const ChannelsLogoutParamsSchema: Type.TObject<{ channel: Type.TString; accountId: Type.TOptional; }>; /** Stops one channel account runtime. */ export declare const ChannelsStopParamsSchema: Type.TObject<{ channel: Type.TString; accountId: Type.TOptional; }>; /** Starts one channel account runtime. */ export declare const ChannelsStartParamsSchema: Type.TObject<{ channel: Type.TString; accountId: Type.TOptional; }>; /** Starts browser/web login for a channel account. */ export declare const WebLoginStartParamsSchema: Type.TObject<{ force: Type.TOptional; timeoutMs: Type.TOptional; verbose: Type.TOptional; accountId: Type.TOptional; }>; /** Waits for web login completion or the next QR code. */ export declare const WebLoginWaitParamsSchema: Type.TObject<{ timeoutMs: Type.TOptional; accountId: Type.TOptional; currentQrDataUrl: Type.TOptional; }>;