import _m0 from 'protobufjs/minimal'; export declare const protobufPackage = "yandex.cloud.video.v1"; /** Entity that is responsible for the incoming video signal settings. */ export interface StreamLine { /** ID of the line. */ id: string; /** ID of the channel to which this stream line belongs. */ channelId: string; /** Title of the stream line. */ title: string; /** ID of the thumbnail image associated with the stream line.. */ thumbnailId: string; /** Real-Time Messaging Protocol (RTMP) push input settings. */ rtmpPush?: RTMPPushInput | undefined; /** Real-Time Messaging Protocol (RTMP) pull input type. */ rtmpPull?: RTMPPullInput | undefined; /** Manual control of stream. */ manualLine?: ManualLine | undefined; /** Automatic control of stream. */ autoLine?: AutoLine | undefined; /** Time when the stream line was created. */ createdAt?: Date; /** Time when the stream line was last updated. */ updatedAt?: Date; /** Custom labels as `` key:value `` pairs. Maximum 64 per resource. */ labels: { [key: string]: string; }; } export interface StreamLine_LabelsEntry { key: string; value: string; } /** Represents the stream key used for pushing video streams. */ export interface PushStreamKey { /** The unique stream key. */ key: string; } /** * Settings for an RTMP (Real-Time Messaging Protocol) push input. * Used when the video stream is pushed to an RTMP server. * @see https://en.wikipedia.org/wiki/Real-Time_Messaging_Protocol */ export interface RTMPPushInput { /** RTMP server url. */ url: string; } /** * Settings for an RTMP pull input. * Used when the service pulls the video stream from an RTMP source. * @see https://en.wikipedia.org/wiki/Real-Time_Messaging_Protocol */ export interface RTMPPullInput { /** RTMP url for receiving video signal. */ url: string; } /** * Represents a manual line type where the stream control is handled manually. * This means that stream start/stop actions are performed by the user. */ export interface ManualLine { } /** Represents an automatic line type where the stream control is handled automatically. */ export interface AutoLine { /** The status of the automatic line. */ status: AutoLine_AutoLineStatus; } /** * Enum representing the status of an automatic stream line. * Indicates whether the automatic line is active or deactivated. */ export declare enum AutoLine_AutoLineStatus { /** AUTO_LINE_STATUS_UNSPECIFIED - Auto line status unspecified. */ AUTO_LINE_STATUS_UNSPECIFIED = 0, /** DEACTIVATED - The automatic line is deactivated and not currently active. */ DEACTIVATED = 1, /** ACTIVE - The automatic line is active and operational. */ ACTIVE = 2, UNRECOGNIZED = -1 } export declare function autoLine_AutoLineStatusFromJSON(object: any): AutoLine_AutoLineStatus; export declare function autoLine_AutoLineStatusToJSON(object: AutoLine_AutoLineStatus): string; export declare const StreamLine: { encode(message: StreamLine, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): StreamLine; fromJSON(object: any): StreamLine; toJSON(message: StreamLine): unknown; fromPartial, never>) | undefined; rtmpPull?: ({ url?: string | undefined; } & { url?: string | undefined; } & Record, never>) | undefined; manualLine?: ({} & {} & Record, never>) | undefined; autoLine?: ({ status?: AutoLine_AutoLineStatus | undefined; } & { status?: AutoLine_AutoLineStatus | undefined; } & Record, never>) | undefined; createdAt?: Date | undefined; updatedAt?: Date | undefined; labels?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): StreamLine; }; export declare const StreamLine_LabelsEntry: { encode(message: StreamLine_LabelsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): StreamLine_LabelsEntry; fromJSON(object: any): StreamLine_LabelsEntry; toJSON(message: StreamLine_LabelsEntry): unknown; fromPartial, never>>(object: I): StreamLine_LabelsEntry; }; export declare const PushStreamKey: { encode(message: PushStreamKey, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): PushStreamKey; fromJSON(object: any): PushStreamKey; toJSON(message: PushStreamKey): unknown; fromPartial, never>>(object: I): PushStreamKey; }; export declare const RTMPPushInput: { encode(message: RTMPPushInput, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): RTMPPushInput; fromJSON(object: any): RTMPPushInput; toJSON(message: RTMPPushInput): unknown; fromPartial, never>>(object: I): RTMPPushInput; }; export declare const RTMPPullInput: { encode(message: RTMPPullInput, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): RTMPPullInput; fromJSON(object: any): RTMPPullInput; toJSON(message: RTMPPullInput): unknown; fromPartial, never>>(object: I): RTMPPullInput; }; export declare const ManualLine: { encode(_: ManualLine, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ManualLine; fromJSON(_: any): ManualLine; toJSON(_: ManualLine): unknown; fromPartial, never>>(_: I): ManualLine; }; export declare const AutoLine: { encode(message: AutoLine, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): AutoLine; fromJSON(object: any): AutoLine; toJSON(message: AutoLine): unknown; fromPartial, never>>(object: I): AutoLine; }; 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 {};