/// 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.datasphere.v1"; export interface NodeExecutionRequest { /** ID of the folder that will be matched with Node ACL. */ folderId: string; /** ID of the Node to perform request on. */ nodeId: string; /** Input data for the execution. */ input?: { [key: string]: any; }; } export interface NodeExecutionResponse { /** Result of the execution. */ output?: { [key: string]: any; }; } export interface AliasExecutionRequest { /** ID of the folder that will be matched with Alias ACL */ folderId: string; /** Name of the Alias to perform request on */ aliasName: string; /** Input data for the execution */ input?: { [key: string]: any; }; } export interface AliasExecutionResponse { /** Result of the execution */ output?: { [key: string]: any; }; } export declare const NodeExecutionRequest: { encode(message: NodeExecutionRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): NodeExecutionRequest; fromJSON(object: any): NodeExecutionRequest; toJSON(message: NodeExecutionRequest): unknown; fromPartial, never>) | undefined; } & Record, never>>(object: I): NodeExecutionRequest; }; export declare const NodeExecutionResponse: { encode(message: NodeExecutionResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): NodeExecutionResponse; fromJSON(object: any): NodeExecutionResponse; toJSON(message: NodeExecutionResponse): unknown; fromPartial, never>) | undefined; } & Record, never>>(object: I): NodeExecutionResponse; }; export declare const AliasExecutionRequest: { encode(message: AliasExecutionRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): AliasExecutionRequest; fromJSON(object: any): AliasExecutionRequest; toJSON(message: AliasExecutionRequest): unknown; fromPartial, never>) | undefined; } & Record, never>>(object: I): AliasExecutionRequest; }; export declare const AliasExecutionResponse: { encode(message: AliasExecutionResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): AliasExecutionResponse; fromJSON(object: any): AliasExecutionResponse; toJSON(message: AliasExecutionResponse): unknown; fromPartial, never>) | undefined; } & Record, never>>(object: I): AliasExecutionResponse; }; /** A set of methods for managing Node resources. */ export declare const NodeServiceService: { /** Executes deployed Node. */ readonly execute: { readonly path: "/yandex.cloud.datasphere.v1.NodeService/Execute"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: NodeExecutionRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => NodeExecutionRequest; readonly responseSerialize: (value: NodeExecutionResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => NodeExecutionResponse; }; /** Executes NodeAlias requests. */ readonly executeAlias: { readonly path: "/yandex.cloud.datasphere.v1.NodeService/ExecuteAlias"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: AliasExecutionRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => AliasExecutionRequest; readonly responseSerialize: (value: AliasExecutionResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => AliasExecutionResponse; }; }; export interface NodeServiceServer extends UntypedServiceImplementation { /** Executes deployed Node. */ execute: handleUnaryCall; /** Executes NodeAlias requests. */ executeAlias: handleUnaryCall; } export interface NodeServiceClient extends Client { /** Executes deployed Node. */ execute(request: NodeExecutionRequest, callback: (error: ServiceError | null, response: NodeExecutionResponse) => void): ClientUnaryCall; execute(request: NodeExecutionRequest, metadata: Metadata, callback: (error: ServiceError | null, response: NodeExecutionResponse) => void): ClientUnaryCall; execute(request: NodeExecutionRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: NodeExecutionResponse) => void): ClientUnaryCall; /** Executes NodeAlias requests. */ executeAlias(request: AliasExecutionRequest, callback: (error: ServiceError | null, response: AliasExecutionResponse) => void): ClientUnaryCall; executeAlias(request: AliasExecutionRequest, metadata: Metadata, callback: (error: ServiceError | null, response: AliasExecutionResponse) => void): ClientUnaryCall; executeAlias(request: AliasExecutionRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: AliasExecutionResponse) => void): ClientUnaryCall; } export declare const NodeServiceClient: { new (address: string, credentials: ChannelCredentials, options?: Partial): NodeServiceClient; service: typeof NodeServiceService; }; 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 {};