/// <reference types="node" />
import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js';
import _m0 from 'protobufjs/minimal';
import { Operation } from '../../../../yandex/cloud/operation/operation';
export declare const protobufPackage = "yandex.cloud.cdn.v1";
export interface ActivateProviderRequest {
    /** ID of the folder that the activate provider belongs to. */
    folderId: string;
    /**
     * Specify provider brand/type.
     *
     * Possible values: `gcore`.
     */
    providerType: string;
}
export interface ActivateProviderMetadata {
    /** ID of the folder that the activate provider belongs to. */
    folderId: string;
}
export interface ListActivatedProvidersRequest {
    /** ID of the folder that the activate provider belongs to. */
    folderId: string;
}
export interface ListActivatedProvidersResponse {
    /** Creates a list of providers. */
    providers: string[];
}
export declare const ActivateProviderRequest: {
    encode(message: ActivateProviderRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ActivateProviderRequest;
    fromJSON(object: any): ActivateProviderRequest;
    toJSON(message: ActivateProviderRequest): unknown;
    fromPartial<I extends {
        folderId?: string | undefined;
        providerType?: string | undefined;
    } & {
        folderId?: string | undefined;
        providerType?: string | undefined;
    } & Record<Exclude<keyof I, keyof ActivateProviderRequest>, never>>(object: I): ActivateProviderRequest;
};
export declare const ActivateProviderMetadata: {
    encode(message: ActivateProviderMetadata, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ActivateProviderMetadata;
    fromJSON(object: any): ActivateProviderMetadata;
    toJSON(message: ActivateProviderMetadata): unknown;
    fromPartial<I extends {
        folderId?: string | undefined;
    } & {
        folderId?: string | undefined;
    } & Record<Exclude<keyof I, "folderId">, never>>(object: I): ActivateProviderMetadata;
};
export declare const ListActivatedProvidersRequest: {
    encode(message: ListActivatedProvidersRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListActivatedProvidersRequest;
    fromJSON(object: any): ListActivatedProvidersRequest;
    toJSON(message: ListActivatedProvidersRequest): unknown;
    fromPartial<I extends {
        folderId?: string | undefined;
    } & {
        folderId?: string | undefined;
    } & Record<Exclude<keyof I, "folderId">, never>>(object: I): ListActivatedProvidersRequest;
};
export declare const ListActivatedProvidersResponse: {
    encode(message: ListActivatedProvidersResponse, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListActivatedProvidersResponse;
    fromJSON(object: any): ListActivatedProvidersResponse;
    toJSON(message: ListActivatedProvidersResponse): unknown;
    fromPartial<I extends {
        providers?: string[] | undefined;
    } & {
        providers?: (string[] & string[] & Record<Exclude<keyof I["providers"], keyof string[]>, never>) | undefined;
    } & Record<Exclude<keyof I, "providers">, never>>(object: I): ListActivatedProvidersResponse;
};
/** A set of methods for managing Provider Service resources. */
export declare const ProviderServiceService: {
    /** Activate provider for specified client. */
    readonly activate: {
        readonly path: "/yandex.cloud.cdn.v1.ProviderService/Activate";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: ActivateProviderRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => ActivateProviderRequest;
        readonly responseSerialize: (value: Operation) => Buffer;
        readonly responseDeserialize: (value: Buffer) => Operation;
    };
    /** List activated providers for specified client. */
    readonly listActivated: {
        readonly path: "/yandex.cloud.cdn.v1.ProviderService/ListActivated";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: ListActivatedProvidersRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => ListActivatedProvidersRequest;
        readonly responseSerialize: (value: ListActivatedProvidersResponse) => Buffer;
        readonly responseDeserialize: (value: Buffer) => ListActivatedProvidersResponse;
    };
};
export interface ProviderServiceServer extends UntypedServiceImplementation {
    /** Activate provider for specified client. */
    activate: handleUnaryCall<ActivateProviderRequest, Operation>;
    /** List activated providers for specified client. */
    listActivated: handleUnaryCall<ListActivatedProvidersRequest, ListActivatedProvidersResponse>;
}
export interface ProviderServiceClient extends Client {
    /** Activate provider for specified client. */
    activate(request: ActivateProviderRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    activate(request: ActivateProviderRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    activate(request: ActivateProviderRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    /** List activated providers for specified client. */
    listActivated(request: ListActivatedProvidersRequest, callback: (error: ServiceError | null, response: ListActivatedProvidersResponse) => void): ClientUnaryCall;
    listActivated(request: ListActivatedProvidersRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListActivatedProvidersResponse) => void): ClientUnaryCall;
    listActivated(request: ListActivatedProvidersRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: ListActivatedProvidersResponse) => void): ClientUnaryCall;
}
export declare const ProviderServiceClient: {
    new (address: string, credentials: ChannelCredentials, options?: Partial<ChannelOptions>): ProviderServiceClient;
    service: typeof ProviderServiceService;
};
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 {};
