export { s as getGuestLink } from './urls-9MkoGCMw.cjs'; import './theme-DBX7D2y9.cjs'; type LivoServerClientOptions = { apiUrl?: string; apiKey: string; fetchFn?: typeof fetch; }; declare class LivoServerClient { private readonly apiUrl; private readonly apiKey; private readonly fetchFn; constructor(options: LivoServerClientOptions); private request; createStream(input: { title: string; mode?: "instant" | "scheduled"; source?: "rtmp" | "studio"; kind?: "stream" | "webinar"; startsAt?: number; durationSeconds?: number; curtainId?: string; captionsEnabled?: boolean; broadcastEnabled?: boolean; recordingEnabled?: boolean; }): Promise<{ stream: { id: string; }; }>; getStream(id: string): Promise<{ stream: { id: string; status: string; }; }>; startStream(id: string): Promise; publishStream(id: string): Promise; patchStream(id: string, input: { title?: string; startsAt?: number | null; durationSeconds?: number | null; curtainId?: string | null; captionsEnabled?: boolean; commentsEnabled?: boolean; commentsAfterEnd?: boolean; qaEnabled?: boolean; broadcastEnabled?: boolean; recordingEnabled?: boolean; }): Promise; stopStream(id: string): Promise; listStreamOutputs(id: string): Promise<{ outputs: Array<{ id: string; platform: string; streamKeyHint: string; }>; }>; createStreamOutput(id: string, input: { platform: "facebook" | "youtube" | "twitch" | "instagram" | "tiktok" | "custom"; streamKey: string; rtmpUrl?: string; enabled?: boolean; }): Promise<{ output: { id: string; }; }>; patchStreamOutput(id: string, outputId: string, input: { enabled?: boolean; rtmpUrl?: string; streamKey?: string; }): Promise; deleteStreamOutput(id: string, outputId: string): Promise; listVods(): Promise<{ vods: Array<{ id: string; title: string; }>; }>; createVod(input: { filename: string; contentType: string; byteSize: number; sha256: string; title?: string; releaseAt?: number | null; curtainId?: string | null; captionsEnabled?: boolean; commentsEnabled?: boolean; }): Promise<{ vodId: string; uploadId: string; partSize: number; }>; requestVodPartUrl(vodId: string, partNumber: number): Promise<{ uploadUrl: string; }>; completeVodUpload(vodId: string, input: { parts: Array<{ partNumber: number; etag: string; }>; }): Promise; transcodeVod(vodId: string): Promise; enableVodCaptions(vodId: string): Promise; listCurtains(): Promise<{ curtains: Array<{ id: string; title: string; }>; }>; createCurtain(input: Record): Promise<{ curtain: { id: string; }; uploadId: string; partSize: number; }>; getOrganizationSettings(): Promise<{ defaultCurtainId: string | null; webhookUrl: string | null; }>; putOrganizationSettings(input: { defaultCurtainId?: string | null; webhookUrl?: string | null; webhookSecret?: string | null; }): Promise; mintHostSession(streamId: string, input: { displayName: string; picture?: string; }): Promise<{ hostUrl: string; guestUrl: string; hostToken: string; guestToken: string; expiresAt: number; }>; listCommunity(kind: "stream" | "vod", id: string, query?: { type?: "comment" | "question"; q?: string; cursor?: string; }): Promise<{ items: unknown[]; nextCursor: string | null; }>; createCommunity(kind: "stream" | "vod", id: string, input: { type: "comment" | "question"; body: string; displayName: string; picture?: string | null; guestId: string; parentId?: string; }): Promise<{ item: unknown; }>; patchCommunity(kind: "stream" | "vod", id: string, itemId: string, input: Record): Promise<{ item: unknown; }>; } declare function createLivoServerClient(options: LivoServerClientOptions): LivoServerClient; export { LivoServerClient, type LivoServerClientOptions, createLivoServerClient };