/// <reference types="node" />
import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js';
import _m0 from 'protobufjs/minimal';
import { HostType } from '../../../../yandex/cloud/compute/v1/host_type';
export declare const protobufPackage = "yandex.cloud.compute.v1";
export interface GetHostTypeRequest {
    /**
     * ID of the host type to return.
     *
     * To get a host type ID make a [HostTypeService.List] request.
     */
    hostTypeId: string;
}
export interface ListHostTypesRequest {
    /**
     * The maximum number of results per page to return. If the number of available
     * results is larger than [page_size],
     * the service returns a [ListHostTypesResponse.next_page_token]
     * that can be used to get the next page of results in subsequent list requests.
     */
    pageSize: number;
    /**
     * Page token. To get the next page of results,
     * set [page_token] to the [ListHostTypesResponse.next_page_token]
     * returned by a previous list request.
     */
    pageToken: string;
}
export interface ListHostTypesResponse {
    /** Lists host types. */
    hostTypes: HostType[];
    /**
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListHostTypesRequest.page_size], use `next_page_token` as the value
     * for the [ListHostTypesRequest.page_token] parameter in the next list request.
     *
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     */
    nextPageToken: string;
}
export declare const GetHostTypeRequest: {
    encode(message: GetHostTypeRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): GetHostTypeRequest;
    fromJSON(object: any): GetHostTypeRequest;
    toJSON(message: GetHostTypeRequest): unknown;
    fromPartial<I extends {
        hostTypeId?: string | undefined;
    } & {
        hostTypeId?: string | undefined;
    } & Record<Exclude<keyof I, "hostTypeId">, never>>(object: I): GetHostTypeRequest;
};
export declare const ListHostTypesRequest: {
    encode(message: ListHostTypesRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListHostTypesRequest;
    fromJSON(object: any): ListHostTypesRequest;
    toJSON(message: ListHostTypesRequest): unknown;
    fromPartial<I extends {
        pageSize?: number | undefined;
        pageToken?: string | undefined;
    } & {
        pageSize?: number | undefined;
        pageToken?: string | undefined;
    } & Record<Exclude<keyof I, keyof ListHostTypesRequest>, never>>(object: I): ListHostTypesRequest;
};
export declare const ListHostTypesResponse: {
    encode(message: ListHostTypesResponse, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListHostTypesResponse;
    fromJSON(object: any): ListHostTypesResponse;
    toJSON(message: ListHostTypesResponse): unknown;
    fromPartial<I extends {
        hostTypes?: {
            id?: string | undefined;
            cores?: number | undefined;
            memory?: number | undefined;
            disks?: number | undefined;
            diskSize?: number | undefined;
        }[] | undefined;
        nextPageToken?: string | undefined;
    } & {
        hostTypes?: ({
            id?: string | undefined;
            cores?: number | undefined;
            memory?: number | undefined;
            disks?: number | undefined;
            diskSize?: number | undefined;
        }[] & ({
            id?: string | undefined;
            cores?: number | undefined;
            memory?: number | undefined;
            disks?: number | undefined;
            diskSize?: number | undefined;
        } & {
            id?: string | undefined;
            cores?: number | undefined;
            memory?: number | undefined;
            disks?: number | undefined;
            diskSize?: number | undefined;
        } & Record<Exclude<keyof I["hostTypes"][number], keyof HostType>, never>)[] & Record<Exclude<keyof I["hostTypes"], keyof {
            id?: string | undefined;
            cores?: number | undefined;
            memory?: number | undefined;
            disks?: number | undefined;
            diskSize?: number | undefined;
        }[]>, never>) | undefined;
        nextPageToken?: string | undefined;
    } & Record<Exclude<keyof I, keyof ListHostTypesResponse>, never>>(object: I): ListHostTypesResponse;
};
/** Set of methods to view possible host configurations. */
export declare const HostTypeServiceService: {
    /** Returns information about specified host type. */
    readonly get: {
        readonly path: "/yandex.cloud.compute.v1.HostTypeService/Get";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: GetHostTypeRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => GetHostTypeRequest;
        readonly responseSerialize: (value: HostType) => Buffer;
        readonly responseDeserialize: (value: Buffer) => HostType;
    };
    /** List avaliable host types. */
    readonly list: {
        readonly path: "/yandex.cloud.compute.v1.HostTypeService/List";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: ListHostTypesRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => ListHostTypesRequest;
        readonly responseSerialize: (value: ListHostTypesResponse) => Buffer;
        readonly responseDeserialize: (value: Buffer) => ListHostTypesResponse;
    };
};
export interface HostTypeServiceServer extends UntypedServiceImplementation {
    /** Returns information about specified host type. */
    get: handleUnaryCall<GetHostTypeRequest, HostType>;
    /** List avaliable host types. */
    list: handleUnaryCall<ListHostTypesRequest, ListHostTypesResponse>;
}
export interface HostTypeServiceClient extends Client {
    /** Returns information about specified host type. */
    get(request: GetHostTypeRequest, callback: (error: ServiceError | null, response: HostType) => void): ClientUnaryCall;
    get(request: GetHostTypeRequest, metadata: Metadata, callback: (error: ServiceError | null, response: HostType) => void): ClientUnaryCall;
    get(request: GetHostTypeRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: HostType) => void): ClientUnaryCall;
    /** List avaliable host types. */
    list(request: ListHostTypesRequest, callback: (error: ServiceError | null, response: ListHostTypesResponse) => void): ClientUnaryCall;
    list(request: ListHostTypesRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListHostTypesResponse) => void): ClientUnaryCall;
    list(request: ListHostTypesRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: ListHostTypesResponse) => void): ClientUnaryCall;
}
export declare const HostTypeServiceClient: {
    new (address: string, credentials: ChannelCredentials, options?: Partial<ChannelOptions>): HostTypeServiceClient;
    service: typeof HostTypeServiceService;
};
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 {};
