import * as z from "zod/v4-mini"; import { OpenEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdk-validation-error.js"; import { SourceAudioDetails } from "./source-audio-details.js"; import { SourceVideoDetails } from "./source-video-details.js"; import { StreamAudioDetails } from "./stream-audio-details.js"; import { StreamVideoDetails } from "./stream-video-details.js"; import { SubtitleInfo } from "./subtitle-info.js"; import { TranscodeInfo } from "./transcode-info.js"; export declare const StreamMediaType: { readonly Movie: "movie"; readonly Episode: "episode"; readonly Track: "track"; readonly Live: "live"; readonly Photo: "photo"; readonly Unknown: "unknown"; }; export type StreamMediaType = OpenEnum; export declare const StreamState: { readonly Playing: "playing"; readonly Paused: "paused"; readonly Stopped: "stopped"; }; export type StreamState = OpenEnum; export declare const StreamVideoDecision: { readonly Directplay: "directplay"; readonly Copy: "copy"; readonly Transcode: "transcode"; }; export type StreamVideoDecision = OpenEnum; export declare const StreamAudioDecision: { readonly Directplay: "directplay"; readonly Copy: "copy"; readonly Transcode: "transcode"; }; export type StreamAudioDecision = OpenEnum; export type Stream = { id: string; serverId: string; serverName: string; username: string; userThumb: string | null; userAvatarUrl: string | null; mediaTitle: string; mediaType: StreamMediaType; /** * Show name (episodes only) */ showTitle: string | null; seasonNumber: number | null; episodeNumber: number | null; year: number | null; /** * Artist name (music tracks only) */ artistName: string | null; /** * Album name (music tracks only) */ albumName: string | null; /** * Track number (music tracks only) */ trackNumber: number | null; /** * Disc number (music tracks only) */ discNumber: number | null; /** * Poster path */ thumbPath: string | null; /** * Proxied poster URL */ posterUrl: string | null; /** * Total media length */ durationMs: number | null; state: StreamState; progressMs: number; startedAt: Date; isTranscode: boolean | null; videoDecision: StreamVideoDecision | null; audioDecision: StreamAudioDecision | null; /** * Bitrate in kbps */ bitrate: number | null; sourceVideoCodec: string | null; sourceAudioCodec: string | null; sourceAudioChannels: number | null; sourceVideoWidth: number | null; sourceVideoHeight: number | null; sourceVideoDetails: SourceVideoDetails | null; sourceAudioDetails: SourceAudioDetails | null; streamVideoCodec: string | null; streamAudioCodec: string | null; streamVideoDetails: StreamVideoDetails | null; streamAudioDetails: StreamAudioDetails | null; transcodeInfo: TranscodeInfo | null; subtitleInfo: SubtitleInfo | null; /** * 4K, 1080p, 720p, etc. */ resolution: string | null; sourceVideoCodecDisplay: string | null; sourceAudioCodecDisplay: string | null; audioChannelsDisplay: string | null; streamVideoCodecDisplay: string | null; streamAudioCodecDisplay: string | null; device: string | null; player: string | null; product: string | null; platform: string | null; }; /** @internal */ export declare const StreamMediaType$inboundSchema: z.ZodMiniType; /** @internal */ export declare const StreamState$inboundSchema: z.ZodMiniType; /** @internal */ export declare const StreamVideoDecision$inboundSchema: z.ZodMiniType; /** @internal */ export declare const StreamAudioDecision$inboundSchema: z.ZodMiniType; /** @internal */ export declare const Stream$inboundSchema: z.ZodMiniType; export declare function streamFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=stream.d.ts.map