UNPKG

@nodesecure/js-x-ray

Version:
24 lines 713 B
import type { ESTree } from "meriyah"; import { SourceFile } from "../SourceFile.ts"; import type { Literal } from "../estree/types.ts"; /** * @description Search for ESM Export * * @example * export { bar } from "./foo.js"; * export * from "./bar.js"; */ declare function validateNode(node: ESTree.Node): [boolean, any?]; declare function main(node: (ESTree.ExportNamedDeclaration | ESTree.ExportAllDeclaration) & { source: Literal<string>; }, { sourceFile }: { sourceFile: SourceFile; }): void; declare const _default: { name: string; validateNode: typeof validateNode; main: typeof main; breakOnMatch: boolean; }; export default _default; //# sourceMappingURL=isESMExport.d.ts.map