export type StreamDescriptor = { platform: "twitch"; channel: string; } | { platform: "youtube-video"; videoId: string; } | { platform: "youtube-handle"; handle: string; } | { platform: "youtube-channel"; channelId: string; }; export declare function parseStreamUrl(value: string): StreamDescriptor | null;