protons
Version:
Protobuf to ts transpiler
34 lines • 756 B
TypeScript
export declare enum CODEC_TYPES {
VARINT = 0,
BIT64 = 1,
LENGTH_DELIMITED = 2,
START_GROUP = 3,
END_GROUP = 4,
BIT32 = 5
}
/**
* This will be removed in a future release
*
* @deprecated
*/
export declare class CodeError extends Error {
code: string;
constructor(message: string, code: string, options?: ErrorOptions);
}
interface Flags {
/**
* Specifies an output directory
*/
output?: string;
/**
* If true, warnings will be thrown as errors
*/
strict?: boolean;
/**
* A list of directories to add to the include path
*/
path?: string[];
}
export declare function generate(source: string, flags: Flags): Promise<void>;
export {};
//# sourceMappingURL=index.d.ts.map