import type { Snippet } from "svelte"; import type { QualityProfile, IngestState, IngestStateContextV2, CompositorConfig, FwThemePreset, StudioThemeOverrides, StudioLocale } from "@livepeer-frameworks/streamcrafter-core"; interface Props { /** Direct WHIP endpoint URL */ whipUrl?: string; /** Gateway URL for endpoint resolution (alternative to whipUrl) */ gatewayUrl?: string; /** Stream key for gateway mode */ streamKey?: string; /** Initial quality profile */ initialProfile?: QualityProfile; /** Auto-start camera on mount */ autoStartCamera?: boolean; /** Show settings panel by default */ showSettings?: boolean; /** Enable dev mode UI */ devMode?: boolean; /** Enable debug logging */ debug?: boolean; /** Enable compositor for multi-source composition */ enableCompositor?: boolean; /** Configuration for the compositor */ compositorConfig?: Partial; /** Theme preset or custom overrides */ theme?: FwThemePreset | StudioThemeOverrides; /** Locale for i18n */ locale?: StudioLocale; /** Custom class name */ class?: string; /** State change callback */ onStateChange?: (state: IngestState, context?: IngestStateContextV2) => void; /** Error callback */ onError?: (error: string) => void; /** Composable children — replaces the default UI when provided. */ children?: Snippet; } declare const StreamCrafter: import("svelte").Component; type StreamCrafter = ReturnType; export default StreamCrafter;