import _m0 from 'protobufjs/minimal'; export declare const protobufPackage = "yandex.cloud.mdb.mongodb.v1"; /** * A MongoDB Backup resource. For more information, see the * [Developer's Guide](/docs/managed-mongodb/concepts). */ export interface Backup { /** ID of the backup. Required. */ id: string; /** ID of the folder that the backup belongs to. */ folderId: string; /** * Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format * (i.e. when the backup operation was completed). */ createdAt?: Date; /** ID of the MongoDB cluster that the backup was created for. */ sourceClusterId: string; /** Time when the backup operation was started. */ startedAt?: Date; /** Shard names used as a source for backup. */ sourceShardNames: string[]; /** Size of backup in bytes */ size: number; /** How this backup was created (manual/automatic/etc...) */ type: Backup_BackupType; /** Size of the journal associated with backup, in bytes */ journalSize: number; } export declare enum Backup_BackupType { BACKUP_TYPE_UNSPECIFIED = 0, /** AUTOMATED - Backup created by automated daily schedule */ AUTOMATED = 1, /** MANUAL - Backup created by user request */ MANUAL = 2, UNRECOGNIZED = -1 } export declare function backup_BackupTypeFromJSON(object: any): Backup_BackupType; export declare function backup_BackupTypeToJSON(object: Backup_BackupType): 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; size?: number | undefined; type?: Backup_BackupType | undefined; journalSize?: number | undefined; } & Record, never>>(object: I): Backup; }; 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 {};