/// <reference types="node" />
import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js';
import _m0 from 'protobufjs/minimal';
import { PointOfPresence } from '../../../../yandex/cloud/cic/v1/point_of_presence';
export declare const protobufPackage = "yandex.cloud.cic.v1";
export interface GetPointOfPresenceRequest {
    /**
     * ID of the PointOfPresence resource to return.
     * To get the pointOfPresence ID use a [PointOfPresenceService.List] request.
     */
    pointOfPresenceId: string;
}
export interface ListPointOfPresencesRequest {
    /**
     * The maximum number of results per page to return. If the number of available
     * results is larger than [page_size],
     * the service returns a [ListPointOfPresencesResponse.next_page_token]
     * that can be used to get the next page of results in subsequent list requests. Default value: 100.
     */
    pageSize: number;
    /**
     * Page token. To get the next page of results, set [page_token] to the
     * [ListPointOfPresencesResponse.next_page_token] returned by a previous list request.
     */
    pageToken: string;
    /**
     * A filter expression that filters resources listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on [Subnet.name] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     */
    filter: string;
}
export interface ListPointOfPresencesResponse {
    /** List of PointOfPresence resources. */
    pointOfPresences: PointOfPresence[];
    /**
     * This token allows you to get the next page of results for list requests. If the number of results
     * is larger than [ListPointOfPresencesRequest.page_size], use
     * the [next_page_token] as the value
     * for the [ListPointOfPresencesRequest.page_token] query parameter
     * in the next list request. Subsequent list requests will have their own
     * [next_page_token] to continue paging through the results.
     */
    nextPageToken: string;
}
export declare const GetPointOfPresenceRequest: {
    encode(message: GetPointOfPresenceRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): GetPointOfPresenceRequest;
    fromJSON(object: any): GetPointOfPresenceRequest;
    toJSON(message: GetPointOfPresenceRequest): unknown;
    fromPartial<I extends {
        pointOfPresenceId?: string | undefined;
    } & {
        pointOfPresenceId?: string | undefined;
    } & Record<Exclude<keyof I, "pointOfPresenceId">, never>>(object: I): GetPointOfPresenceRequest;
};
export declare const ListPointOfPresencesRequest: {
    encode(message: ListPointOfPresencesRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListPointOfPresencesRequest;
    fromJSON(object: any): ListPointOfPresencesRequest;
    toJSON(message: ListPointOfPresencesRequest): unknown;
    fromPartial<I extends {
        pageSize?: number | undefined;
        pageToken?: string | undefined;
        filter?: string | undefined;
    } & {
        pageSize?: number | undefined;
        pageToken?: string | undefined;
        filter?: string | undefined;
    } & Record<Exclude<keyof I, keyof ListPointOfPresencesRequest>, never>>(object: I): ListPointOfPresencesRequest;
};
export declare const ListPointOfPresencesResponse: {
    encode(message: ListPointOfPresencesResponse, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListPointOfPresencesResponse;
    fromJSON(object: any): ListPointOfPresencesResponse;
    toJSON(message: ListPointOfPresencesResponse): unknown;
    fromPartial<I extends {
        pointOfPresences?: {
            id?: string | undefined;
            regionId?: string | undefined;
        }[] | undefined;
        nextPageToken?: string | undefined;
    } & {
        pointOfPresences?: ({
            id?: string | undefined;
            regionId?: string | undefined;
        }[] & ({
            id?: string | undefined;
            regionId?: string | undefined;
        } & {
            id?: string | undefined;
            regionId?: string | undefined;
        } & Record<Exclude<keyof I["pointOfPresences"][number], keyof PointOfPresence>, never>)[] & Record<Exclude<keyof I["pointOfPresences"], keyof {
            id?: string | undefined;
            regionId?: string | undefined;
        }[]>, never>) | undefined;
        nextPageToken?: string | undefined;
    } & Record<Exclude<keyof I, keyof ListPointOfPresencesResponse>, never>>(object: I): ListPointOfPresencesResponse;
};
/** A set of methods for managing PointOfPresence resources. */
export declare const PointOfPresenceServiceService: {
    /**
     * Returns the specified PointOfPresence resource.
     *
     * To get the list of available PointOfPresence resources, make a [List] request.
     */
    readonly get: {
        readonly path: "/yandex.cloud.cic.v1.PointOfPresenceService/Get";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: GetPointOfPresenceRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => GetPointOfPresenceRequest;
        readonly responseSerialize: (value: PointOfPresence) => Buffer;
        readonly responseDeserialize: (value: Buffer) => PointOfPresence;
    };
    /** Retrieves the list of PointOfPresence resources in the specified folder. */
    readonly list: {
        readonly path: "/yandex.cloud.cic.v1.PointOfPresenceService/List";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: ListPointOfPresencesRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => ListPointOfPresencesRequest;
        readonly responseSerialize: (value: ListPointOfPresencesResponse) => Buffer;
        readonly responseDeserialize: (value: Buffer) => ListPointOfPresencesResponse;
    };
};
export interface PointOfPresenceServiceServer extends UntypedServiceImplementation {
    /**
     * Returns the specified PointOfPresence resource.
     *
     * To get the list of available PointOfPresence resources, make a [List] request.
     */
    get: handleUnaryCall<GetPointOfPresenceRequest, PointOfPresence>;
    /** Retrieves the list of PointOfPresence resources in the specified folder. */
    list: handleUnaryCall<ListPointOfPresencesRequest, ListPointOfPresencesResponse>;
}
export interface PointOfPresenceServiceClient extends Client {
    /**
     * Returns the specified PointOfPresence resource.
     *
     * To get the list of available PointOfPresence resources, make a [List] request.
     */
    get(request: GetPointOfPresenceRequest, callback: (error: ServiceError | null, response: PointOfPresence) => void): ClientUnaryCall;
    get(request: GetPointOfPresenceRequest, metadata: Metadata, callback: (error: ServiceError | null, response: PointOfPresence) => void): ClientUnaryCall;
    get(request: GetPointOfPresenceRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: PointOfPresence) => void): ClientUnaryCall;
    /** Retrieves the list of PointOfPresence resources in the specified folder. */
    list(request: ListPointOfPresencesRequest, callback: (error: ServiceError | null, response: ListPointOfPresencesResponse) => void): ClientUnaryCall;
    list(request: ListPointOfPresencesRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListPointOfPresencesResponse) => void): ClientUnaryCall;
    list(request: ListPointOfPresencesRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: ListPointOfPresencesResponse) => void): ClientUnaryCall;
}
export declare const PointOfPresenceServiceClient: {
    new (address: string, credentials: ChannelCredentials, options?: Partial<ChannelOptions>): PointOfPresenceServiceClient;
    service: typeof PointOfPresenceServiceService;
};
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 {};
