import * as dependency_3 from "./../../../protobuf/timestamp";
import * as pb_1 from "google-protobuf";
export declare class Backup extends pb_1.Message {
    #private;
    constructor(data?: any[] | {
        name?: string;
        database?: string;
        database_uid?: string;
        snapshot_time?: dependency_3.Timestamp;
        expire_time?: dependency_3.Timestamp;
        stats?: BackupStats;
        state?: BackupState;
    });
    get name(): string;
    set name(value: string);
    get database(): string;
    set database(value: string);
    get database_uid(): string;
    set database_uid(value: string);
    get snapshot_time(): dependency_3.Timestamp;
    set snapshot_time(value: dependency_3.Timestamp);
    get has_snapshot_time(): boolean;
    get expire_time(): dependency_3.Timestamp;
    set expire_time(value: dependency_3.Timestamp);
    get has_expire_time(): boolean;
    get stats(): BackupStats;
    set stats(value: BackupStats);
    get has_stats(): boolean;
    get state(): BackupState;
    set state(value: BackupState);
    static fromObject(data: {
        name?: string;
        database?: string;
        database_uid?: string;
        snapshot_time?: ReturnType<typeof dependency_3.Timestamp.prototype.toObject>;
        expire_time?: ReturnType<typeof dependency_3.Timestamp.prototype.toObject>;
        stats?: ReturnType<typeof BackupStats.prototype.toObject>;
        state?: BackupState;
    }): Backup;
    toObject(): {
        name?: string;
        database?: string;
        database_uid?: string;
        snapshot_time?: ReturnType<typeof dependency_3.Timestamp.prototype.toObject>;
        expire_time?: ReturnType<typeof dependency_3.Timestamp.prototype.toObject>;
        stats?: ReturnType<typeof BackupStats.prototype.toObject>;
        state?: BackupState;
    };
    serialize(): Uint8Array;
    serialize(w: pb_1.BinaryWriter): void;
    static deserialize(bytes: Uint8Array | pb_1.BinaryReader): Backup;
    serializeBinary(): Uint8Array;
    static deserializeBinary(bytes: Uint8Array): Backup;
}
export declare enum BackupState {
    STATE_UNSPECIFIED = 0,
    CREATING = 1,
    READY = 2,
    NOT_AVAILABLE = 3
}
export declare class BackupStats extends pb_1.Message {
    #private;
    constructor(data?: any[] | {
        size_bytes?: number;
        document_count?: number;
        index_count?: number;
    });
    get size_bytes(): number;
    set size_bytes(value: number);
    get document_count(): number;
    set document_count(value: number);
    get index_count(): number;
    set index_count(value: number);
    static fromObject(data: {
        size_bytes?: number;
        document_count?: number;
        index_count?: number;
    }): BackupStats;
    toObject(): {
        size_bytes?: number;
        document_count?: number;
        index_count?: number;
    };
    serialize(): Uint8Array;
    serialize(w: pb_1.BinaryWriter): void;
    static deserialize(bytes: Uint8Array | pb_1.BinaryReader): BackupStats;
    serializeBinary(): Uint8Array;
    static deserializeBinary(bytes: Uint8Array): BackupStats;
}
//# sourceMappingURL=backup.d.ts.map