import _m0 from 'protobufjs/minimal'; export declare const protobufPackage = "yandex.cloud.smartcaptcha.v1"; /** Captcha's complexity. */ export declare enum CaptchaComplexity { CAPTCHA_COMPLEXITY_UNSPECIFIED = 0, /** EASY - High chance to pass pre-check and easy advanced challenge. */ EASY = 1, /** MEDIUM - Medium chance to pass pre-check and normal advanced challenge. */ MEDIUM = 2, /** HARD - Little chance to pass pre-check and hard advanced challenge. */ HARD = 3, /** FORCE_HARD - Impossible to pass pre-check and hard advanced challenge. */ FORCE_HARD = 4, UNRECOGNIZED = -1 } export declare function captchaComplexityFromJSON(object: any): CaptchaComplexity; export declare function captchaComplexityToJSON(object: CaptchaComplexity): string; /** Captcha's basic check type, see [Task types / Main task](/docs/smartcaptcha/concepts/tasks#main-task). */ export declare enum CaptchaPreCheckType { CAPTCHA_PRE_CHECK_TYPE_UNSPECIFIED = 0, /** CHECKBOX - User must click the "I am not a robot" button. */ CHECKBOX = 1, /** SLIDER - User must move the slider from left to right. */ SLIDER = 2, UNRECOGNIZED = -1 } export declare function captchaPreCheckTypeFromJSON(object: any): CaptchaPreCheckType; export declare function captchaPreCheckTypeToJSON(object: CaptchaPreCheckType): string; /** Additional task, see [Task types / Additional task](/docs/smartcaptcha/concepts/tasks#additional-task). */ export declare enum CaptchaChallengeType { CAPTCHA_CHALLENGE_TYPE_UNSPECIFIED = 0, /** IMAGE_TEXT - Text recognition: The user has to type a distorted text from the picture into a special field. */ IMAGE_TEXT = 1, /** SILHOUETTES - Silhouettes: The user has to mark several icons from the picture in a particular order. */ SILHOUETTES = 2, /** KALEIDOSCOPE - Kaleidoscope: The user has to build a picture from individual parts by shuffling them using a slider. */ KALEIDOSCOPE = 3, UNRECOGNIZED = -1 } export declare function captchaChallengeTypeFromJSON(object: any): CaptchaChallengeType; export declare function captchaChallengeTypeToJSON(object: CaptchaChallengeType): string; /** A Captcha resource. */ export interface Captcha { /** ID of the captcha. */ id: string; /** ID of the folder that the captcha belongs to. */ folderId: string; /** ID of the cloud that the captcha belongs to. */ cloudId: string; /** Client key of the captcha, see [CAPTCHA keys](/docs/smartcaptcha/concepts/keys). */ clientKey: string; /** Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. */ createdAt?: Date; /** Name of the captcha. The name is unique within the folder. 3-63 characters long. */ name: string; /** List of allowed host names, see [Domain validation](/docs/smartcaptcha/concepts/domain-validation). */ allowedSites: string[]; /** Complexity of the captcha. */ complexity: CaptchaComplexity; /** JSON with variables to define the captcha appearance. For more details see generated JSON in cloud console. */ styleJson: string; /** Determines that the captcha is currently in restricted mode, see [SmartCaptcha restricted mode](/docs/smartcaptcha/concepts/restricted-mode). */ suspend: boolean; /** Turn off host name check, see [Domain validation](/docs/smartcaptcha/concepts/domain-validation). */ turnOffHostnameCheck: boolean; /** Basic check type of the captcha. */ preCheckType: CaptchaPreCheckType; /** Additional task type of the captcha. */ challengeType: CaptchaChallengeType; /** List of security rules. */ securityRules: SecurityRule[]; /** Determines whether captcha is protected from being deleted. */ deletionProtection: boolean; /** List of variants to use in security_rules */ overrideVariants: OverrideVariant[]; } /** OverrideVariant object. Contains the settings to override. */ export interface OverrideVariant { /** Unique identifier of the variant. */ uuid: string; /** Optional description of the rule. 0-512 characters long. */ description: string; /** Complexity of the captcha. */ complexity: CaptchaComplexity; /** Basic check type of the captcha. */ preCheckType: CaptchaPreCheckType; /** Additional task type of the captcha. */ challengeType: CaptchaChallengeType; } /** CaptchaSecretKey object. Contains captcha data that need to keep in secret. */ export interface CaptchaSecretKey { /** Server key of the captcha, see [CAPTCHA keys](/docs/smartcaptcha/concepts/keys). */ serverKey: string; } /** SecurityRule object. Defines the condition and action: when and which variant to show. */ export interface SecurityRule { /** Name of the rule. The name is unique within the captcha. 1-50 characters long. */ name: string; /** Priority of the rule. Lower value means higher priority. */ priority: number; /** Optional description of the rule. 0-512 characters long. */ description: string; /** The condition for matching the rule. */ condition?: Condition; /** Variant UUID to show in case of match the rule. Keep empty to use defaults. */ overrideVariantUuid: string; } /** Condition object. AND semantics implied. */ export interface Condition { /** Host where captcha placed. */ host?: Condition_HostMatcher; /** URI where captcha placed. */ uri?: Condition_UriMatcher; /** Captcha request headers. */ headers: Condition_HeaderMatcher[]; /** The IP address of the requester. */ sourceIp?: Condition_IpMatcher; } /** StringMatcher object. */ export interface Condition_StringMatcher { exactMatch: string | undefined; exactNotMatch: string | undefined; prefixMatch: string | undefined; prefixNotMatch: string | undefined; pireRegexMatch: string | undefined; pireRegexNotMatch: string | undefined; } /** HostMatcher object. */ export interface Condition_HostMatcher { /** List of hosts. OR semantics implied. */ hosts: Condition_StringMatcher[]; } /** UriMatcher object. AND semantics implied. */ export interface Condition_UriMatcher { /** Path of the URI [RFC3986](https://datatracker.ietf.org/doc/html/rfc3986#section-3.3). */ path?: Condition_StringMatcher; /** List of query matchers. AND semantics implied. */ queries: Condition_QueryMatcher[]; } /** QueryMatcher object. */ export interface Condition_QueryMatcher { /** Key of the query parameter. */ key: string; /** Value of the query parameter. */ value?: Condition_StringMatcher; } /** HeaderMatcher object. */ export interface Condition_HeaderMatcher { /** Name of header (case insensitive). */ name: string; /** Value of the header. */ value?: Condition_StringMatcher; } /** IpMatcher object. AND semantics implied. */ export interface Condition_IpMatcher { ipRangesMatch?: Condition_IpRangesMatcher; ipRangesNotMatch?: Condition_IpRangesMatcher; geoIpMatch?: Condition_GeoIpMatcher; geoIpNotMatch?: Condition_GeoIpMatcher; } /** IpRangesMatcher object. */ export interface Condition_IpRangesMatcher { /** List of IP ranges. OR semantics implied. */ ipRanges: string[]; } /** GeoIpMatcher object. */ export interface Condition_GeoIpMatcher { /** ISO 3166-1 alpha 2. OR semantics implied. */ locations: string[]; } export declare const Captcha: { encode(message: Captcha, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Captcha; fromJSON(object: any): Captcha; toJSON(message: Captcha): unknown; fromPartial, never>) | undefined; complexity?: CaptchaComplexity | undefined; styleJson?: string | undefined; suspend?: boolean | undefined; turnOffHostnameCheck?: boolean | undefined; preCheckType?: CaptchaPreCheckType | undefined; challengeType?: CaptchaChallengeType | undefined; securityRules?: ({ name?: string | undefined; priority?: number | undefined; description?: string | undefined; condition?: { host?: { hosts?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; }[] | undefined; } | undefined; uri?: { path?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; queries?: { key?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; }[] | undefined; } | undefined; headers?: { name?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; }[] | undefined; sourceIp?: { ipRangesMatch?: { ipRanges?: string[] | undefined; } | undefined; ipRangesNotMatch?: { ipRanges?: string[] | undefined; } | undefined; geoIpMatch?: { locations?: string[] | undefined; } | undefined; geoIpNotMatch?: { locations?: string[] | undefined; } | undefined; } | undefined; } | undefined; overrideVariantUuid?: string | undefined; }[] & ({ name?: string | undefined; priority?: number | undefined; description?: string | undefined; condition?: { host?: { hosts?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; }[] | undefined; } | undefined; uri?: { path?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; queries?: { key?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; }[] | undefined; } | undefined; headers?: { name?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; }[] | undefined; sourceIp?: { ipRangesMatch?: { ipRanges?: string[] | undefined; } | undefined; ipRangesNotMatch?: { ipRanges?: string[] | undefined; } | undefined; geoIpMatch?: { locations?: string[] | undefined; } | undefined; geoIpNotMatch?: { locations?: string[] | undefined; } | undefined; } | undefined; } | undefined; overrideVariantUuid?: string | undefined; } & { name?: string | undefined; priority?: number | undefined; description?: string | undefined; condition?: ({ host?: { hosts?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; }[] | undefined; } | undefined; uri?: { path?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; queries?: { key?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; }[] | undefined; } | undefined; headers?: { name?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; }[] | undefined; sourceIp?: { ipRangesMatch?: { ipRanges?: string[] | undefined; } | undefined; ipRangesNotMatch?: { ipRanges?: string[] | undefined; } | undefined; geoIpMatch?: { locations?: string[] | undefined; } | undefined; geoIpNotMatch?: { locations?: string[] | undefined; } | undefined; } | undefined; } & { host?: ({ hosts?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; }[] | undefined; } & { hosts?: ({ exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; }[] & ({ exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; uri?: ({ path?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; queries?: { key?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; }[] | undefined; } & { path?: ({ exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & Record, never>) | undefined; queries?: ({ key?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; }[] & ({ key?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; } & { key?: string | undefined; value?: ({ exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; headers?: ({ name?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; }[] & ({ name?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; } & { name?: string | undefined; value?: ({ exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; sourceIp?: ({ ipRangesMatch?: { ipRanges?: string[] | undefined; } | undefined; ipRangesNotMatch?: { ipRanges?: string[] | undefined; } | undefined; geoIpMatch?: { locations?: string[] | undefined; } | undefined; geoIpNotMatch?: { locations?: string[] | undefined; } | undefined; } & { ipRangesMatch?: ({ ipRanges?: string[] | undefined; } & { ipRanges?: (string[] & string[] & Record, never>) | undefined; } & Record, never>) | undefined; ipRangesNotMatch?: ({ ipRanges?: string[] | undefined; } & { ipRanges?: (string[] & string[] & Record, never>) | undefined; } & Record, never>) | undefined; geoIpMatch?: ({ locations?: string[] | undefined; } & { locations?: (string[] & string[] & Record, never>) | undefined; } & Record, never>) | undefined; geoIpNotMatch?: ({ locations?: string[] | undefined; } & { locations?: (string[] & string[] & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; overrideVariantUuid?: string | undefined; } & Record, never>)[] & Record, never>) | undefined; deletionProtection?: boolean | undefined; overrideVariants?: ({ uuid?: string | undefined; description?: string | undefined; complexity?: CaptchaComplexity | undefined; preCheckType?: CaptchaPreCheckType | undefined; challengeType?: CaptchaChallengeType | undefined; }[] & ({ uuid?: string | undefined; description?: string | undefined; complexity?: CaptchaComplexity | undefined; preCheckType?: CaptchaPreCheckType | undefined; challengeType?: CaptchaChallengeType | undefined; } & { uuid?: string | undefined; description?: string | undefined; complexity?: CaptchaComplexity | undefined; preCheckType?: CaptchaPreCheckType | undefined; challengeType?: CaptchaChallengeType | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>>(object: I): Captcha; }; export declare const OverrideVariant: { encode(message: OverrideVariant, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): OverrideVariant; fromJSON(object: any): OverrideVariant; toJSON(message: OverrideVariant): unknown; fromPartial, never>>(object: I): OverrideVariant; }; export declare const CaptchaSecretKey: { encode(message: CaptchaSecretKey, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CaptchaSecretKey; fromJSON(object: any): CaptchaSecretKey; toJSON(message: CaptchaSecretKey): unknown; fromPartial, never>>(object: I): CaptchaSecretKey; }; export declare const SecurityRule: { encode(message: SecurityRule, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SecurityRule; fromJSON(object: any): SecurityRule; toJSON(message: SecurityRule): unknown; fromPartial, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; uri?: ({ path?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; queries?: { key?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; }[] | undefined; } & { path?: ({ exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & Record, never>) | undefined; queries?: ({ key?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; }[] & ({ key?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; } & { key?: string | undefined; value?: ({ exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; headers?: ({ name?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; }[] & ({ name?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; } & { name?: string | undefined; value?: ({ exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; sourceIp?: ({ ipRangesMatch?: { ipRanges?: string[] | undefined; } | undefined; ipRangesNotMatch?: { ipRanges?: string[] | undefined; } | undefined; geoIpMatch?: { locations?: string[] | undefined; } | undefined; geoIpNotMatch?: { locations?: string[] | undefined; } | undefined; } & { ipRangesMatch?: ({ ipRanges?: string[] | undefined; } & { ipRanges?: (string[] & string[] & Record, never>) | undefined; } & Record, never>) | undefined; ipRangesNotMatch?: ({ ipRanges?: string[] | undefined; } & { ipRanges?: (string[] & string[] & Record, never>) | undefined; } & Record, never>) | undefined; geoIpMatch?: ({ locations?: string[] | undefined; } & { locations?: (string[] & string[] & Record, never>) | undefined; } & Record, never>) | undefined; geoIpNotMatch?: ({ locations?: string[] | undefined; } & { locations?: (string[] & string[] & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; overrideVariantUuid?: string | undefined; } & Record, never>>(object: I): SecurityRule; }; export declare const Condition: { encode(message: Condition, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Condition; fromJSON(object: any): Condition; toJSON(message: Condition): unknown; fromPartial, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; uri?: ({ path?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; queries?: { key?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; }[] | undefined; } & { path?: ({ exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & Record, never>) | undefined; queries?: ({ key?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; }[] & ({ key?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; } & { key?: string | undefined; value?: ({ exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; headers?: ({ name?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; }[] & ({ name?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; } & { name?: string | undefined; value?: ({ exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; sourceIp?: ({ ipRangesMatch?: { ipRanges?: string[] | undefined; } | undefined; ipRangesNotMatch?: { ipRanges?: string[] | undefined; } | undefined; geoIpMatch?: { locations?: string[] | undefined; } | undefined; geoIpNotMatch?: { locations?: string[] | undefined; } | undefined; } & { ipRangesMatch?: ({ ipRanges?: string[] | undefined; } & { ipRanges?: (string[] & string[] & Record, never>) | undefined; } & Record, never>) | undefined; ipRangesNotMatch?: ({ ipRanges?: string[] | undefined; } & { ipRanges?: (string[] & string[] & Record, never>) | undefined; } & Record, never>) | undefined; geoIpMatch?: ({ locations?: string[] | undefined; } & { locations?: (string[] & string[] & Record, never>) | undefined; } & Record, never>) | undefined; geoIpNotMatch?: ({ locations?: string[] | undefined; } & { locations?: (string[] & string[] & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): Condition; }; export declare const Condition_StringMatcher: { encode(message: Condition_StringMatcher, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Condition_StringMatcher; fromJSON(object: any): Condition_StringMatcher; toJSON(message: Condition_StringMatcher): unknown; fromPartial, never>>(object: I): Condition_StringMatcher; }; export declare const Condition_HostMatcher: { encode(message: Condition_HostMatcher, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Condition_HostMatcher; fromJSON(object: any): Condition_HostMatcher; toJSON(message: Condition_HostMatcher): unknown; fromPartial, never>)[] & Record, never>) | undefined; } & Record, never>>(object: I): Condition_HostMatcher; }; export declare const Condition_UriMatcher: { encode(message: Condition_UriMatcher, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Condition_UriMatcher; fromJSON(object: any): Condition_UriMatcher; toJSON(message: Condition_UriMatcher): unknown; fromPartial, never>) | undefined; queries?: ({ key?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; }[] & ({ key?: string | undefined; value?: { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } | undefined; } & { key?: string | undefined; value?: ({ exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & { exactMatch?: string | undefined; exactNotMatch?: string | undefined; prefixMatch?: string | undefined; prefixNotMatch?: string | undefined; pireRegexMatch?: string | undefined; pireRegexNotMatch?: string | undefined; } & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>>(object: I): Condition_UriMatcher; }; export declare const Condition_QueryMatcher: { encode(message: Condition_QueryMatcher, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Condition_QueryMatcher; fromJSON(object: any): Condition_QueryMatcher; toJSON(message: Condition_QueryMatcher): unknown; fromPartial, never>) | undefined; } & Record, never>>(object: I): Condition_QueryMatcher; }; export declare const Condition_HeaderMatcher: { encode(message: Condition_HeaderMatcher, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Condition_HeaderMatcher; fromJSON(object: any): Condition_HeaderMatcher; toJSON(message: Condition_HeaderMatcher): unknown; fromPartial, never>) | undefined; } & Record, never>>(object: I): Condition_HeaderMatcher; }; export declare const Condition_IpMatcher: { encode(message: Condition_IpMatcher, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Condition_IpMatcher; fromJSON(object: any): Condition_IpMatcher; toJSON(message: Condition_IpMatcher): unknown; fromPartial, never>) | undefined; } & Record, never>) | undefined; ipRangesNotMatch?: ({ ipRanges?: string[] | undefined; } & { ipRanges?: (string[] & string[] & Record, never>) | undefined; } & Record, never>) | undefined; geoIpMatch?: ({ locations?: string[] | undefined; } & { locations?: (string[] & string[] & Record, never>) | undefined; } & Record, never>) | undefined; geoIpNotMatch?: ({ locations?: string[] | undefined; } & { locations?: (string[] & string[] & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): Condition_IpMatcher; }; export declare const Condition_IpRangesMatcher: { encode(message: Condition_IpRangesMatcher, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Condition_IpRangesMatcher; fromJSON(object: any): Condition_IpRangesMatcher; toJSON(message: Condition_IpRangesMatcher): unknown; fromPartial, never>) | undefined; } & Record, never>>(object: I): Condition_IpRangesMatcher; }; export declare const Condition_GeoIpMatcher: { encode(message: Condition_GeoIpMatcher, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Condition_GeoIpMatcher; fromJSON(object: any): Condition_GeoIpMatcher; toJSON(message: Condition_GeoIpMatcher): unknown; fromPartial, never>) | undefined; } & Record, never>>(object: I): Condition_GeoIpMatcher; }; 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 {};