import _m0 from 'protobufjs/minimal';
export declare const protobufPackage = "yandex.cloud.apploadbalancer.v1";
/** RateLimit is a set of settings for global rate limiting. */
export interface RateLimit {
    /** AllRequests is a rate limit configuration applied to all incoming requests. */
    allRequests?: RateLimit_Limit;
    /**
     * RequestsPerIp is a rate limit configuration applied separately for each set of requests
     * grouped by client IP address.
     */
    requestsPerIp?: RateLimit_Limit;
}
/** Limit is a rate limit value settings. */
export interface RateLimit_Limit {
    /** PerSecond is a limit value specified with per second time unit. */
    perSecond: number | undefined;
    /** PerMinute is a limit value specified with per minute time unit. */
    perMinute: number | undefined;
}
export declare const RateLimit: {
    encode(message: RateLimit, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): RateLimit;
    fromJSON(object: any): RateLimit;
    toJSON(message: RateLimit): unknown;
    fromPartial<I extends {
        allRequests?: {
            perSecond?: number | undefined;
            perMinute?: number | undefined;
        } | undefined;
        requestsPerIp?: {
            perSecond?: number | undefined;
            perMinute?: number | undefined;
        } | undefined;
    } & {
        allRequests?: ({
            perSecond?: number | undefined;
            perMinute?: number | undefined;
        } & {
            perSecond?: number | undefined;
            perMinute?: number | undefined;
        } & Record<Exclude<keyof I["allRequests"], keyof RateLimit_Limit>, never>) | undefined;
        requestsPerIp?: ({
            perSecond?: number | undefined;
            perMinute?: number | undefined;
        } & {
            perSecond?: number | undefined;
            perMinute?: number | undefined;
        } & Record<Exclude<keyof I["requestsPerIp"], keyof RateLimit_Limit>, never>) | undefined;
    } & Record<Exclude<keyof I, keyof RateLimit>, never>>(object: I): RateLimit;
};
export declare const RateLimit_Limit: {
    encode(message: RateLimit_Limit, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): RateLimit_Limit;
    fromJSON(object: any): RateLimit_Limit;
    toJSON(message: RateLimit_Limit): unknown;
    fromPartial<I extends {
        perSecond?: number | undefined;
        perMinute?: number | undefined;
    } & {
        perSecond?: number | undefined;
        perMinute?: number | undefined;
    } & Record<Exclude<keyof I, keyof RateLimit_Limit>, never>>(object: I): RateLimit_Limit;
};
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 {};
