import type { ConnectorConfig } from "./config.js"; export type GatewayVoiceChannelStatusRepresentation = "null" | "omitted" | "value"; export interface GatewayVoiceChannelStatusRequestOptions { signal?: AbortSignal; } export interface GatewayVoiceChannelStatusSnapshot { channelId: string; evidence: { discardedChannelEntries: number; responseUnknownFieldCount: number; returnedChannelEntries: number; statusRepresentation: GatewayVoiceChannelStatusRepresentation; targetUnknownFieldCount: number; }; freshness: { gatewaySequence: number; observedAt: string; requestedAt: string; source: "gateway-request-channel-info"; }; guildId: string; privacy: { nonTargetStatusText: "discarded-before-projection"; persistence: "none"; rawPayloads: "omitted"; text: "transient-untrusted"; }; schemaVersion: number; status: string | null; } export interface GatewayVoiceChannelStatusUpdate { channelId: string; freshness: { gatewaySequence: number; observedAt: string; source: "gateway-voice-channel-status-update"; }; guildId: string; status: string | null; unknownFieldCount: number; } export interface GatewayVoiceChannelStatusSource { readonly voiceChannelStatusEnabled: boolean; getVoiceChannelStatus(guildId: string, channelId: string, options?: GatewayVoiceChannelStatusRequestOptions): Promise; waitForVoiceChannelStatusUpdate(guildId: string, channelId: string, options?: GatewayVoiceChannelStatusRequestOptions): Promise; } export declare function voiceChannelStatusChannelIds(config: Pick): ReadonlySet; export declare function channelInfoGuildId(value: unknown): string | undefined; export declare function voiceChannelStatusUpdateTarget(value: unknown): { channelId: string; guildId: string; } | undefined; export declare function projectGatewayVoiceChannelStatus(options: { channelId: string; gatewaySequence: number; guildId: string; observedAt: string; requestedAt: string; value: unknown; }): GatewayVoiceChannelStatusSnapshot; export declare function projectGatewayVoiceChannelStatusUpdate(options: { channelId: string; gatewaySequence: number; guildId: string; observedAt: string; value: unknown; }): GatewayVoiceChannelStatusUpdate; export declare class DisabledGatewayVoiceChannelStatusSource implements GatewayVoiceChannelStatusSource { readonly voiceChannelStatusEnabled = false; getVoiceChannelStatus(): Promise; waitForVoiceChannelStatusUpdate(): Promise; } //# sourceMappingURL=gateway-voice-channel-status.d.ts.map