import _m0 from 'protobufjs/minimal'; export declare const protobufPackage = "yandex.cloud.mdb.opensearch.v1"; export interface Backup { /** Required. ID of the backup. */ id: string; /** ID of the folder that the backup belongs to. */ folderId: string; /** ID of the OpenSearch cluster that the backup was created for. */ sourceClusterId: string; /** Time when the backup operation was started. */ startedAt?: Date; /** Time when the backup operation was completed. */ createdAt?: Date; /** Names of indices in the backup. */ indices: string[]; /** OpenSearch version used to create the backup. */ opensearchVersion: string; /** Size of the backup in bytes. */ sizeBytes: number; /** The number of indices in the backup. */ indicesTotal: number; } /** Snapshot management configuration */ export interface SnapshotManagement { /** Snapshot creation schedule */ snapshotSchedule?: SnapshotSchedule; /** Snapshot max age in days */ snapshotMaxAgeDays?: number; } /** Snapshot creation schedule */ export interface SnapshotSchedule { /** Hourly based snapshot schedule */ hourlySnapshotSchedule?: HourlySnapshotSchedule | undefined; /** Daily based snapshot schedule */ dailySnapshotSchedule?: DailySnapshotSchedule | undefined; /** Weekly based snapshot schedule */ weeklySnapshotSchedule?: WeeklySnapshotSchedule | undefined; } /** Hourly based snapshot schedule */ export interface HourlySnapshotSchedule { /** The minute of the hour at which the backup should be created. */ minute: number; } /** Daily based snapshot schedule */ export interface DailySnapshotSchedule { /** The hour of the day in UTC timezone at which the backup should be created. */ hour: number; /** The minute of the hour at which the backup should be created. */ minute: number; } /** Weekly based snapshot schedule */ export interface WeeklySnapshotSchedule { /** Day of the week */ day: WeeklySnapshotSchedule_WeekDay; /** The hour of the day in UTC timezone at which the backup should be created. */ hour: number; /** The minute of the hour at which the backup should be created. */ minute: number; } /** Day of the week */ export declare enum WeeklySnapshotSchedule_WeekDay { WEEK_DAY_UNSPECIFIED = 0, MON = 1, TUE = 2, WED = 3, THU = 4, FRI = 5, SAT = 6, SUN = 7, UNRECOGNIZED = -1 } export declare function weeklySnapshotSchedule_WeekDayFromJSON(object: any): WeeklySnapshotSchedule_WeekDay; export declare function weeklySnapshotSchedule_WeekDayToJSON(object: WeeklySnapshotSchedule_WeekDay): string; export declare const Backup: { encode(message: Backup, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Backup; fromJSON(object: any): Backup; toJSON(message: Backup): unknown; fromPartial, never>) | undefined; opensearchVersion?: string | undefined; sizeBytes?: number | undefined; indicesTotal?: number | undefined; } & Record, never>>(object: I): Backup; }; export declare const SnapshotManagement: { encode(message: SnapshotManagement, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotManagement; fromJSON(object: any): SnapshotManagement; toJSON(message: SnapshotManagement): unknown; fromPartial, never>) | undefined; dailySnapshotSchedule?: ({ hour?: number | undefined; minute?: number | undefined; } & { hour?: number | undefined; minute?: number | undefined; } & Record, never>) | undefined; weeklySnapshotSchedule?: ({ day?: WeeklySnapshotSchedule_WeekDay | undefined; hour?: number | undefined; minute?: number | undefined; } & { day?: WeeklySnapshotSchedule_WeekDay | undefined; hour?: number | undefined; minute?: number | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; snapshotMaxAgeDays?: number | undefined; } & Record, never>>(object: I): SnapshotManagement; }; export declare const SnapshotSchedule: { encode(message: SnapshotSchedule, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotSchedule; fromJSON(object: any): SnapshotSchedule; toJSON(message: SnapshotSchedule): unknown; fromPartial, never>) | undefined; dailySnapshotSchedule?: ({ hour?: number | undefined; minute?: number | undefined; } & { hour?: number | undefined; minute?: number | undefined; } & Record, never>) | undefined; weeklySnapshotSchedule?: ({ day?: WeeklySnapshotSchedule_WeekDay | undefined; hour?: number | undefined; minute?: number | undefined; } & { day?: WeeklySnapshotSchedule_WeekDay | undefined; hour?: number | undefined; minute?: number | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): SnapshotSchedule; }; export declare const HourlySnapshotSchedule: { encode(message: HourlySnapshotSchedule, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): HourlySnapshotSchedule; fromJSON(object: any): HourlySnapshotSchedule; toJSON(message: HourlySnapshotSchedule): unknown; fromPartial, never>>(object: I): HourlySnapshotSchedule; }; export declare const DailySnapshotSchedule: { encode(message: DailySnapshotSchedule, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DailySnapshotSchedule; fromJSON(object: any): DailySnapshotSchedule; toJSON(message: DailySnapshotSchedule): unknown; fromPartial, never>>(object: I): DailySnapshotSchedule; }; export declare const WeeklySnapshotSchedule: { encode(message: WeeklySnapshotSchedule, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): WeeklySnapshotSchedule; fromJSON(object: any): WeeklySnapshotSchedule; toJSON(message: WeeklySnapshotSchedule): unknown; fromPartial, never>>(object: I): WeeklySnapshotSchedule; }; 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 {};