/// <reference types="node" />
import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js';
import _m0 from 'protobufjs/minimal';
import { RuleSetDescriptor } from '../../../../../yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor';
export declare const protobufPackage = "yandex.cloud.smartwebsecurity.v1.waf";
export interface GetRuleSetDescriptorRequest {
    /** Name of the RuleSetDescriptor resource to return. */
    name: string;
    /** Version of the RuleSetDescriptor resource to return. */
    version: string;
}
export declare const GetRuleSetDescriptorRequest: {
    encode(message: GetRuleSetDescriptorRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): GetRuleSetDescriptorRequest;
    fromJSON(object: any): GetRuleSetDescriptorRequest;
    toJSON(message: GetRuleSetDescriptorRequest): unknown;
    fromPartial<I extends {
        name?: string | undefined;
        version?: string | undefined;
    } & {
        name?: string | undefined;
        version?: string | undefined;
    } & Record<Exclude<keyof I, keyof GetRuleSetDescriptorRequest>, never>>(object: I): GetRuleSetDescriptorRequest;
};
/** A set of methods for managing RuleSetDescriptor resources. */
export declare const RuleSetDescriptorServiceService: {
    /** Returns the specified RuleSetDescriptor resource. */
    readonly get: {
        readonly path: "/yandex.cloud.smartwebsecurity.v1.waf.RuleSetDescriptorService/Get";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: GetRuleSetDescriptorRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => GetRuleSetDescriptorRequest;
        readonly responseSerialize: (value: RuleSetDescriptor) => Buffer;
        readonly responseDeserialize: (value: Buffer) => RuleSetDescriptor;
    };
};
export interface RuleSetDescriptorServiceServer extends UntypedServiceImplementation {
    /** Returns the specified RuleSetDescriptor resource. */
    get: handleUnaryCall<GetRuleSetDescriptorRequest, RuleSetDescriptor>;
}
export interface RuleSetDescriptorServiceClient extends Client {
    /** Returns the specified RuleSetDescriptor resource. */
    get(request: GetRuleSetDescriptorRequest, callback: (error: ServiceError | null, response: RuleSetDescriptor) => void): ClientUnaryCall;
    get(request: GetRuleSetDescriptorRequest, metadata: Metadata, callback: (error: ServiceError | null, response: RuleSetDescriptor) => void): ClientUnaryCall;
    get(request: GetRuleSetDescriptorRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: RuleSetDescriptor) => void): ClientUnaryCall;
}
export declare const RuleSetDescriptorServiceClient: {
    new (address: string, credentials: ChannelCredentials, options?: Partial<ChannelOptions>): RuleSetDescriptorServiceClient;
    service: typeof RuleSetDescriptorServiceService;
};
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 {};
