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, never>)[] & Record, never>) | undefined; } & Record, 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, never>>(object: I): RuleSetDescriptor_RuleDescription; }; 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 {};