1 | import { FileDescriptorProto } from "google-protobuf/google/protobuf/descriptor_pb";
|
2 | import { ExportEnumEntry, ExportMessageEntry } from "./ExportMap";
|
3 | import { ServiceParameter, ModeParameter } from "./parameters";
|
4 | export declare function filePathToPseudoNamespace(filePath: string): string;
|
5 | export declare function throwError(message: string, includeUnexpectedBehaviourMessage?: boolean): never;
|
6 | export declare function stripPrefix(str: string, prefix: string): string;
|
7 | export declare function snakeToCamel(str: string): string;
|
8 | export declare function uppercaseFirst(str: string): string;
|
9 | export declare function isProto2(fileDescriptor: FileDescriptorProto): boolean;
|
10 | export declare function oneOfName(name: string): string;
|
11 | export declare function generateIndent(indentLevel: number): string;
|
12 | export declare function getPathToRoot(fileName: string): string;
|
13 | export declare function withinNamespaceFromExportEntry(name: string, exportEntry: ExportMessageEntry | ExportEnumEntry): string;
|
14 | export declare function replaceProtoSuffix(protoFilePath: string): string;
|
15 | export declare function withAllStdIn(callback: (buffer: Buffer) => void): void;
|
16 | export declare function normaliseFieldObjectName(name: string): string;
|
17 | export declare function getServiceParameter(service?: string): ServiceParameter;
|
18 | export declare function getModeParameter(mode?: string): ModeParameter;
|
19 | export declare function getParameterEnums(parameter: string): {
|
20 | service: ServiceParameter;
|
21 | mode: ModeParameter;
|
22 | };
|