import _m0 from 'protobufjs/minimal';
export declare const protobufPackage = "yandex.cloud.mdb.redis.v1";
/** A maintenance window settings. */
export interface MaintenanceWindow {
    /** Maintenance operation can be scheduled anytime. */
    anytime?: AnytimeMaintenanceWindow | undefined;
    /** Maintenance operation can be scheduled on a weekly basis. */
    weeklyMaintenanceWindow?: WeeklyMaintenanceWindow | undefined;
}
export interface AnytimeMaintenanceWindow {
}
/** Weelky maintenance window settings. */
export interface WeeklyMaintenanceWindow {
    /** Day of the week (in `DDD` format). */
    day: WeeklyMaintenanceWindow_WeekDay;
    /** Hour of the day in UTC (in `HH` format). */
    hour: number;
}
export declare enum WeeklyMaintenanceWindow_WeekDay {
    WEEK_DAY_UNSPECIFIED = 0,
    MON = 1,
    TUE = 2,
    WED = 3,
    THU = 4,
    FRI = 5,
    SAT = 6,
    SUN = 7,
    UNRECOGNIZED = -1
}
export declare function weeklyMaintenanceWindow_WeekDayFromJSON(object: any): WeeklyMaintenanceWindow_WeekDay;
export declare function weeklyMaintenanceWindow_WeekDayToJSON(object: WeeklyMaintenanceWindow_WeekDay): string;
/** A planned maintenance operation. */
export interface MaintenanceOperation {
    /** Information about this maintenance operation. */
    info: string;
    /** Time until which this maintenance operation is delayed. */
    delayedUntil?: Date;
}
export declare const MaintenanceWindow: {
    encode(message: MaintenanceWindow, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): MaintenanceWindow;
    fromJSON(object: any): MaintenanceWindow;
    toJSON(message: MaintenanceWindow): unknown;
    fromPartial<I extends {
        anytime?: {} | undefined;
        weeklyMaintenanceWindow?: {
            day?: WeeklyMaintenanceWindow_WeekDay | undefined;
            hour?: number | undefined;
        } | undefined;
    } & {
        anytime?: ({} & {} & Record<Exclude<keyof I["anytime"], never>, never>) | undefined;
        weeklyMaintenanceWindow?: ({
            day?: WeeklyMaintenanceWindow_WeekDay | undefined;
            hour?: number | undefined;
        } & {
            day?: WeeklyMaintenanceWindow_WeekDay | undefined;
            hour?: number | undefined;
        } & Record<Exclude<keyof I["weeklyMaintenanceWindow"], keyof WeeklyMaintenanceWindow>, never>) | undefined;
    } & Record<Exclude<keyof I, keyof MaintenanceWindow>, never>>(object: I): MaintenanceWindow;
};
export declare const AnytimeMaintenanceWindow: {
    encode(_: AnytimeMaintenanceWindow, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): AnytimeMaintenanceWindow;
    fromJSON(_: any): AnytimeMaintenanceWindow;
    toJSON(_: AnytimeMaintenanceWindow): unknown;
    fromPartial<I extends {} & {} & Record<Exclude<keyof I, never>, never>>(_: I): AnytimeMaintenanceWindow;
};
export declare const WeeklyMaintenanceWindow: {
    encode(message: WeeklyMaintenanceWindow, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): WeeklyMaintenanceWindow;
    fromJSON(object: any): WeeklyMaintenanceWindow;
    toJSON(message: WeeklyMaintenanceWindow): unknown;
    fromPartial<I extends {
        day?: WeeklyMaintenanceWindow_WeekDay | undefined;
        hour?: number | undefined;
    } & {
        day?: WeeklyMaintenanceWindow_WeekDay | undefined;
        hour?: number | undefined;
    } & Record<Exclude<keyof I, keyof WeeklyMaintenanceWindow>, never>>(object: I): WeeklyMaintenanceWindow;
};
export declare const MaintenanceOperation: {
    encode(message: MaintenanceOperation, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): MaintenanceOperation;
    fromJSON(object: any): MaintenanceOperation;
    toJSON(message: MaintenanceOperation): unknown;
    fromPartial<I extends {
        info?: string | undefined;
        delayedUntil?: Date | undefined;
    } & {
        info?: string | undefined;
        delayedUntil?: Date | undefined;
    } & Record<Exclude<keyof I, keyof MaintenanceOperation>, never>>(object: I): MaintenanceOperation;
};
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 {};
