import { BroadcastConfig, CollaborationConfig } from 'pptx-viewer-shared'; import { CollaborationController } from './collaboration.svelte'; /** Prefilled values for the Share dialog's form (Broadcast reuses `serverUrl`). */ export interface ShareDefaultsInput { roomId?: string; userName?: string; serverUrl?: string; } export declare class CollaborationDialogsState { #private; shareOpen: boolean; broadcastOpen: boolean; constructor(collab: CollaborationController, getShareDefaults: () => ShareDefaultsInput | undefined); /** Number of connected participants (including the local user), when active. */ get connectedCount(): number; /** The shareable follow link for the current (or last) broadcast, once known. */ get broadcastViewerUrl(): string | undefined; openShare(): void; openBroadcast(): void; readonly onShareStart: (config: CollaborationConfig) => void; readonly onShareStop: () => void; readonly onBroadcastStart: (config: BroadcastConfig) => void; readonly onBroadcastStop: () => void; /** * Retry the active session after a connection error: prefers the host's * live `collaboration` prop, falling back to whatever config either dialog * last started (since a dialog-started session has no corresponding prop). */ retry(propConfig: CollaborationConfig | undefined): void; } //# sourceMappingURL=collaboration-dialogs.svelte.d.ts.map