import protoJs from "protobufjs"; import { ApiFile } from "../apiInterface"; import { Options } from "../index"; export declare function getProto2ApiData(options: Options): { [apiFilePath: string]: ApiFile; }; export declare type PathPreprocessingOption = { apiFileMap: { [fileName: string]: ApiFile; }; output: string; }; /** * Do some preprocessing on the pb path * @param options * @returns */ export declare function pathPreprocessing(options: PathPreprocessingOption, pbPaths: Array<{ target: string; path: string; }>): { [apiFilePath: string]: ApiFile; }; export declare function parseProto(protoDir: string, protoFiles: string[], dependencyPath: string): { root: protoJs.Root; pbPaths: { target: string; path: string; }[]; };