actions/github/codeql-action-v2/node_modules/twirp-ts/build/protoc-gen-twirp-ts/gen/twirp.d.ts

20 lines
686 B
TypeScript

import { FileDescriptorProto } from "@protobuf-ts/plugin-framework";
/**
* Generates the client and server implementation of the twirp
* specification.
* @param ctx
* @param file
*/
export declare function generateTwirp(ctx: any, file: FileDescriptorProto): Promise<string>;
/**
* Generates the client implementation of the twirp specification.
* @param ctx
* @param file
*/
export declare function generateTwirpClient(ctx: any, file: FileDescriptorProto): Promise<string>;
/**
* Generates the server implementation of the twirp specification.
* @param ctx
* @param file
*/
export declare function generateTwirpServer(ctx: any, file: FileDescriptorProto): Promise<string>;