/// import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js'; import _m0 from 'protobufjs/minimal'; import { ApiEndpoint } from '../../../yandex/cloud/endpoint/api_endpoint'; export declare const protobufPackage = "yandex.cloud.endpoint"; export interface GetApiEndpointRequest { apiEndpointId: string; } export interface ListApiEndpointsRequest { /** @deprecated */ pageSize: number; /** @deprecated */ pageToken: string; } export interface ListApiEndpointsResponse { endpoints: ApiEndpoint[]; nextPageToken: string; } export declare const GetApiEndpointRequest: { encode(message: GetApiEndpointRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetApiEndpointRequest; fromJSON(object: any): GetApiEndpointRequest; toJSON(message: GetApiEndpointRequest): unknown; fromPartial, never>>(object: I): GetApiEndpointRequest; }; export declare const ListApiEndpointsRequest: { encode(message: ListApiEndpointsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListApiEndpointsRequest; fromJSON(object: any): ListApiEndpointsRequest; toJSON(message: ListApiEndpointsRequest): unknown; fromPartial, never>>(object: I): ListApiEndpointsRequest; }; export declare const ListApiEndpointsResponse: { encode(message: ListApiEndpointsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListApiEndpointsResponse; fromJSON(object: any): ListApiEndpointsResponse; toJSON(message: ListApiEndpointsResponse): unknown; fromPartial, never>)[] & Record, never>) | undefined; nextPageToken?: string | undefined; } & Record, never>>(object: I): ListApiEndpointsResponse; }; export declare const ApiEndpointServiceService: { readonly get: { readonly path: "/yandex.cloud.endpoint.ApiEndpointService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetApiEndpointRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => GetApiEndpointRequest; readonly responseSerialize: (value: ApiEndpoint) => Buffer; readonly responseDeserialize: (value: Buffer) => ApiEndpoint; }; readonly list: { readonly path: "/yandex.cloud.endpoint.ApiEndpointService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListApiEndpointsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListApiEndpointsRequest; readonly responseSerialize: (value: ListApiEndpointsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListApiEndpointsResponse; }; }; export interface ApiEndpointServiceServer extends UntypedServiceImplementation { get: handleUnaryCall; list: handleUnaryCall; } export interface ApiEndpointServiceClient extends Client { get(request: GetApiEndpointRequest, callback: (error: ServiceError | null, response: ApiEndpoint) => void): ClientUnaryCall; get(request: GetApiEndpointRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ApiEndpoint) => void): ClientUnaryCall; get(request: GetApiEndpointRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ApiEndpoint) => void): ClientUnaryCall; list(request: ListApiEndpointsRequest, callback: (error: ServiceError | null, response: ListApiEndpointsResponse) => void): ClientUnaryCall; list(request: ListApiEndpointsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListApiEndpointsResponse) => void): ClientUnaryCall; list(request: ListApiEndpointsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListApiEndpointsResponse) => void): ClientUnaryCall; } export declare const ApiEndpointServiceClient: { new (address: string, credentials: ChannelCredentials, options?: Partial): ApiEndpointServiceClient; service: typeof ApiEndpointServiceService; }; 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 {};
= P extends Builtin ? P : P & { [K in keyof P]: Exact
; } & Record>, never>; export {};