import _m0 from 'protobufjs/minimal';
export declare const protobufPackage = "yandex.cloud.video.v1";
/** Entity representing an ordered list of videos or episodes. */
export interface Playlist {
    /** ID of the playlist. */
    id: string;
    /** ID of the channel to create the playlist in. */
    channelId: string;
    /** Playlist title. */
    title: string;
    /** Playlist description. */
    description: string;
    /** List of playlist items. */
    items: PlaylistItem[];
    /** Time when playlist was created. */
    createdAt?: Date;
    /** Time of last playlist update. */
    updatedAt?: Date;
}
export interface PlaylistItem {
    /** ID of the video. */
    videoId: string | undefined;
    /** ID of the episode. */
    episodeId: string | undefined;
    /** Item position (zero-indexed). */
    position: number;
}
export declare const Playlist: {
    encode(message: Playlist, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): Playlist;
    fromJSON(object: any): Playlist;
    toJSON(message: Playlist): unknown;
    fromPartial<I extends {
        id?: string | undefined;
        channelId?: string | undefined;
        title?: string | undefined;
        description?: string | undefined;
        items?: {
            videoId?: string | undefined;
            episodeId?: string | undefined;
            position?: number | undefined;
        }[] | undefined;
        createdAt?: Date | undefined;
        updatedAt?: Date | undefined;
    } & {
        id?: string | undefined;
        channelId?: string | undefined;
        title?: string | undefined;
        description?: string | undefined;
        items?: ({
            videoId?: string | undefined;
            episodeId?: string | undefined;
            position?: number | undefined;
        }[] & ({
            videoId?: string | undefined;
            episodeId?: string | undefined;
            position?: number | undefined;
        } & {
            videoId?: string | undefined;
            episodeId?: string | undefined;
            position?: number | undefined;
        } & Record<Exclude<keyof I["items"][number], keyof PlaylistItem>, never>)[] & Record<Exclude<keyof I["items"], keyof {
            videoId?: string | undefined;
            episodeId?: string | undefined;
            position?: number | undefined;
        }[]>, never>) | undefined;
        createdAt?: Date | undefined;
        updatedAt?: Date | undefined;
    } & Record<Exclude<keyof I, keyof Playlist>, never>>(object: I): Playlist;
};
export declare const PlaylistItem: {
    encode(message: PlaylistItem, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): PlaylistItem;
    fromJSON(object: any): PlaylistItem;
    toJSON(message: PlaylistItem): unknown;
    fromPartial<I extends {
        videoId?: string | undefined;
        episodeId?: string | undefined;
        position?: number | undefined;
    } & {
        videoId?: string | undefined;
        episodeId?: string | undefined;
        position?: number | undefined;
    } & Record<Exclude<keyof I, keyof PlaylistItem>, never>>(object: I): PlaylistItem;
};
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
    [K in keyof T]?: DeepPartial<T[K]>;
} : Partial<T>;
type KeysOfUnion<T> = T extends T ? keyof T : never;
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
    [K in keyof P]: Exact<P[K], I[K]>;
} & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
export {};
