/// import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js'; import _m0 from 'protobufjs/minimal'; export declare const protobufPackage = "yandex.cloud.organizationmanager.v1"; export interface GenerateSshCertificateRequest { /** the cloud must be attached to an organization */ cloudId: string | undefined; organizationId: string | undefined; /** specify subject to generate certificate for default login */ subjectId: string | undefined; /** specify os_login for a specific login */ osLogin: string | undefined; publicKey: string; } export interface GenerateSshCertificateResponse { /** as per specification https://cvsweb.openbsd.org/src/usr.bin/ssh/PROTOCOL.certkeys?annotate=HEAD */ signedCertificate: string; } export declare const GenerateSshCertificateRequest: { encode(message: GenerateSshCertificateRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GenerateSshCertificateRequest; fromJSON(object: any): GenerateSshCertificateRequest; toJSON(message: GenerateSshCertificateRequest): unknown; fromPartial, never>>(object: I): GenerateSshCertificateRequest; }; export declare const GenerateSshCertificateResponse: { encode(message: GenerateSshCertificateResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GenerateSshCertificateResponse; fromJSON(object: any): GenerateSshCertificateResponse; toJSON(message: GenerateSshCertificateResponse): unknown; fromPartial, never>>(object: I): GenerateSshCertificateResponse; }; export declare const SshCertificateServiceService: { /** * Members of an organization can generate certificates for themselves * Signing certificates for other users requires a special permission */ readonly generate: { readonly path: "/yandex.cloud.organizationmanager.v1.SshCertificateService/Generate"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GenerateSshCertificateRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => GenerateSshCertificateRequest; readonly responseSerialize: (value: GenerateSshCertificateResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => GenerateSshCertificateResponse; }; }; export interface SshCertificateServiceServer extends UntypedServiceImplementation { /** * Members of an organization can generate certificates for themselves * Signing certificates for other users requires a special permission */ generate: handleUnaryCall; } export interface SshCertificateServiceClient extends Client { /** * Members of an organization can generate certificates for themselves * Signing certificates for other users requires a special permission */ generate(request: GenerateSshCertificateRequest, callback: (error: ServiceError | null, response: GenerateSshCertificateResponse) => void): ClientUnaryCall; generate(request: GenerateSshCertificateRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GenerateSshCertificateResponse) => void): ClientUnaryCall; generate(request: GenerateSshCertificateRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: GenerateSshCertificateResponse) => void): ClientUnaryCall; } export declare const SshCertificateServiceClient: { new (address: string, credentials: ChannelCredentials, options?: Partial): SshCertificateServiceClient; service: typeof SshCertificateServiceService; }; 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 {};