1 | import * as protobuf from 'protobufjs';
|
2 | export interface GoogleProtoFilesRootOptions {
|
3 | [index: string]: any;
|
4 | }
|
5 | export declare class GoogleProtoFilesRoot extends protobuf.Root {
|
6 | constructor(options?: GoogleProtoFilesRootOptions);
|
7 | static getCommonProtoFiles(): string[];
|
8 | resolvePath(_: string, includePath: string, alreadyNormalized?: boolean): string;
|
9 | }
|
10 | export declare function loadSync(filename: string, options?: protobuf.IParseOptions): protobuf.Root;
|
11 | export declare function load(filename: string, options?: protobuf.IParseOptions): Promise<protobuf.Root>;
|