import _m0 from 'protobufjs/minimal'; export declare const protobufPackage = "yandex.cloud.video.v1"; export interface Episode { /** ID of the episode. */ id: string; /** ID of the stream. Optional, empty if the episode is linked to the line */ streamId: string; /** ID of the line. Optional, empty if the episode is linked to the stream */ lineId: string; /** Episode title. */ title: string; /** Episode description. */ description: string; /** ID of the thumbnail. */ thumbnailId: string; /** Episode start time. */ startTime?: Date; /** Episode finish time. */ finishTime?: Date; /** * Enables episode DVR mode. * Determines how many last seconds of the stream are available for watching. * * Possible values: * * `0`: infinite dvr size, the full length of the stream allowed to display * * `>0`: size of dvr window in seconds, the minimum value is 30s */ dvrSeconds: number; visibilityStatus: Episode_VisibilityStatus; /** Episode is available to everyone. */ publicAccess?: EpisodePublicAccessRights | undefined; /** Checking access rights using the authorization system. */ authSystemAccess?: EpisodeAuthSystemAccessRights | undefined; /** Checking access rights using url's signature. */ signUrlAccess?: EpisodeSignURLAccessRights | undefined; /** Time when episode was created. */ createdAt?: Date; /** Time of last episode update. */ updatedAt?: Date; } export declare enum Episode_VisibilityStatus { VISIBILITY_STATUS_UNSPECIFIED = 0, PUBLISHED = 1, UNPUBLISHED = 2, UNRECOGNIZED = -1 } export declare function episode_VisibilityStatusFromJSON(object: any): Episode_VisibilityStatus; export declare function episode_VisibilityStatusToJSON(object: Episode_VisibilityStatus): string; export interface EpisodePublicAccessRights { } export interface EpisodeAuthSystemAccessRights { } export interface EpisodeSignURLAccessRights { } export declare const Episode: { encode(message: Episode, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Episode; fromJSON(object: any): Episode; toJSON(message: Episode): unknown; fromPartial, never>) | undefined; authSystemAccess?: ({} & {} & Record, never>) | undefined; signUrlAccess?: ({} & {} & Record, never>) | undefined; createdAt?: Date | undefined; updatedAt?: Date | undefined; } & Record, never>>(object: I): Episode; }; export declare const EpisodePublicAccessRights: { encode(_: EpisodePublicAccessRights, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): EpisodePublicAccessRights; fromJSON(_: any): EpisodePublicAccessRights; toJSON(_: EpisodePublicAccessRights): unknown; fromPartial, never>>(_: I): EpisodePublicAccessRights; }; export declare const EpisodeAuthSystemAccessRights: { encode(_: EpisodeAuthSystemAccessRights, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): EpisodeAuthSystemAccessRights; fromJSON(_: any): EpisodeAuthSystemAccessRights; toJSON(_: EpisodeAuthSystemAccessRights): unknown; fromPartial, never>>(_: I): EpisodeAuthSystemAccessRights; }; export declare const EpisodeSignURLAccessRights: { encode(_: EpisodeSignURLAccessRights, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): EpisodeSignURLAccessRights; fromJSON(_: any): EpisodeSignURLAccessRights; toJSON(_: EpisodeSignURLAccessRights): unknown; fromPartial, never>>(_: I): EpisodeSignURLAccessRights; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & Record>, never>; export {};