import { DateLike } from "../../../common/types.js";
//#region src/namespaces/rawvoice/common/types.d.ts
declare namespace RawVoiceNs {
  type Rating = {
    value?: string;
    tv?: string;
    movie?: string;
  };
  type LiveStream<TDate extends DateLike> = {
    url?: string;
    schedule?: TDate;
    duration?: string;
    type?: string;
  };
  type Poster = {
    url?: string;
  };
  type AlternateEnclosure = {
    src?: string;
    type?: string;
    length?: number;
  };
  type Subscribe = Record<string, string>;
  type Metamark = {
    type?: string;
    link?: string;
    position?: number;
    duration?: number;
    value?: string;
  };
  type Donate = {
    href: string;
    value?: string;
  };
  type Feed<TDate extends DateLike> = {
    rating?: Rating;
    liveEmbed?: string;
    flashLiveStream?: LiveStream<TDate>;
    httpLiveStream?: LiveStream<TDate>;
    shoutcastLiveStream?: LiveStream<TDate>;
    liveStream?: LiveStream<TDate>;
    location?: string;
    frequency?: string;
    mycast?: boolean;
    subscribe?: Subscribe;
    donate?: Donate;
  };
  type Item = {
    poster?: Poster;
    isHd?: boolean;
    embed?: string;
    webm?: AlternateEnclosure;
    mp4?: AlternateEnclosure;
    metamarks?: Array<Metamark>;
  };
}
//#endregion
export { RawVoiceNs };