node/deps/cjs-module-lexer/lexer.d.ts

9 lines
242 B
TypeScript

export interface Exports {
exports: string[];
reexports: string[];
}
export declare function parse(source: string, name?: string): Exports;
export declare function init(): Promise<void>;
export declare function initSync(): void;