@ydbjs/api
Version:
TypeScript gRPC service definitions and protobuf types for all YDB APIs. Enables strongly-typed client generation and low-level protocol access.
40 lines • 2.19 kB
TypeScript
import type { MessageInitShape } from "@bufbuild/protobuf";
import { ExportToS3RequestSchema, ExportToS3ResponseSchema, ExportToYtRequestSchema, ExportToYtResponseSchema } from "./protos/ydb_export_pb.js";
/**
* @generated from service Ydb.Export.V1.ExportService
*/
export declare const ExportServiceDefinition: {
/**
* Exports data to YT.
* Method starts an asynchronous operation that can be cancelled while it is in progress.
*
* @generated from rpc Ydb.Export.V1.ExportService.ExportToYt
*/
readonly exportToYt: {
readonly path: "/Ydb.Export.V1.ExportService/ExportToYt";
readonly requestStream: false;
readonly requestSerialize: (message: MessageInitShape<typeof ExportToYtRequestSchema>) => Uint8Array<ArrayBufferLike>;
readonly requestDeserialize: (bytes: Uint8Array) => import("./protos/ydb_export_pb.js").ExportToYtRequest;
readonly responseStream: false;
readonly responseSerialize: (message: MessageInitShape<typeof ExportToYtResponseSchema>) => Uint8Array<ArrayBufferLike>;
readonly responseDeserialize: (bytes: Uint8Array) => import("./protos/ydb_export_pb.js").ExportToYtResponse;
readonly options: {};
};
/**
* Exports data to S3.
* Method starts an asynchronous operation that can be cancelled while it is in progress.
*
* @generated from rpc Ydb.Export.V1.ExportService.ExportToS3
*/
readonly exportToS3: {
readonly path: "/Ydb.Export.V1.ExportService/ExportToS3";
readonly requestStream: false;
readonly requestSerialize: (message: MessageInitShape<typeof ExportToS3RequestSchema>) => Uint8Array<ArrayBufferLike>;
readonly requestDeserialize: (bytes: Uint8Array) => import("./protos/ydb_export_pb.js").ExportToS3Request;
readonly responseStream: false;
readonly responseSerialize: (message: MessageInitShape<typeof ExportToS3ResponseSchema>) => Uint8Array<ArrayBufferLike>;
readonly responseDeserialize: (bytes: Uint8Array) => import("./protos/ydb_export_pb.js").ExportToS3Response;
readonly options: {};
};
};
//# sourceMappingURL=ydb_export_v1_grpc_pb.d.ts.map