/** What a Twitch link points at. A `video` with `length` above 0 is a slice of that VOD. */ export type TwitchSource = { readonly type: 'clip'; readonly slug: string; } | { readonly type: 'video'; readonly video: string; readonly start: number; readonly length: number; } | { readonly type: 'channel'; readonly channel: string; }; /** Reads any regular Twitch link, plus `twitch-vod://?t=&d=` for a slice of a VOD. */ export declare function parseTwitchUrl(value: string): TwitchSource | undefined;