import _m0 from 'protobufjs/minimal';
export declare const protobufPackage = "yandex.cloud.smartwebsecurity.v1.waf";
export interface RuleSetDescriptor {
    /** Name of the rule set */
    name: string;
    /** Version of the rule set */
    version: string;
    /** ID of the rule set */
    id: string;
    /** List of rules */
    rules: RuleSetDescriptor_RuleDescription[];
}
export interface RuleSetDescriptor_RuleDescription {
    /** ID of the rule */
    id: string;
    /**
     * Numeric anomaly value, i.e., a potential attack indicator.
     * The higher this value, the more likely it is that the request that satisfies the rule is an attack.
     * See [documentation](/docs/smartwebsecurity/concepts/waf#anomaly).
     */
    anomalyScore: number;
    /**
     * Paranoia level classifies rules according to their aggression.
     * The higher the paranoia level, the better your protection, but also the higher the probability of WAF false positives.
     * See [documentation](/docs/smartwebsecurity/concepts/waf#paranoia).
     */
    paranoiaLevel: number;
}
export declare const RuleSetDescriptor: {
    encode(message: RuleSetDescriptor, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): RuleSetDescriptor;
    fromJSON(object: any): RuleSetDescriptor;
    toJSON(message: RuleSetDescriptor): unknown;
    fromPartial<I extends {
        name?: string | undefined;
        version?: string | undefined;
        id?: string | undefined;
        rules?: {
            id?: string | undefined;
            anomalyScore?: number | undefined;
            paranoiaLevel?: number | undefined;
        }[] | undefined;
    } & {
        name?: string | undefined;
        version?: string | undefined;
        id?: string | undefined;
        rules?: ({
            id?: string | undefined;
            anomalyScore?: number | undefined;
            paranoiaLevel?: number | undefined;
        }[] & ({
            id?: string | undefined;
            anomalyScore?: number | undefined;
            paranoiaLevel?: number | undefined;
        } & {
            id?: string | undefined;
            anomalyScore?: number | undefined;
            paranoiaLevel?: number | undefined;
        } & Record<Exclude<keyof I["rules"][number], keyof RuleSetDescriptor_RuleDescription>, never>)[] & Record<Exclude<keyof I["rules"], keyof {
            id?: string | undefined;
            anomalyScore?: number | undefined;
            paranoiaLevel?: number | undefined;
        }[]>, never>) | undefined;
    } & Record<Exclude<keyof I, keyof RuleSetDescriptor>, never>>(object: I): RuleSetDescriptor;
};
export declare const RuleSetDescriptor_RuleDescription: {
    encode(message: RuleSetDescriptor_RuleDescription, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): RuleSetDescriptor_RuleDescription;
    fromJSON(object: any): RuleSetDescriptor_RuleDescription;
    toJSON(message: RuleSetDescriptor_RuleDescription): unknown;
    fromPartial<I extends {
        id?: string | undefined;
        anomalyScore?: number | undefined;
        paranoiaLevel?: number | undefined;
    } & {
        id?: string | undefined;
        anomalyScore?: number | undefined;
        paranoiaLevel?: number | undefined;
    } & Record<Exclude<keyof I, keyof RuleSetDescriptor_RuleDescription>, never>>(object: I): RuleSetDescriptor_RuleDescription;
};
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 {};
