import { type TSESTree } from '@typescript-eslint/typescript-estree'; export declare const ANONYMOUS = "__anonymous"; type Node = TSESTree.Node; export type ExportNode = TSESTree.ExportAllDeclaration | TSESTree.ExportNamedDeclaration | TSESTree.ExportDefaultDeclaration | (TSESTree.ExpressionStatement & { expression: TSESTree.AssignmentExpression; }); export type ExportNamedDeclaration = TSESTree.ExportNamedDeclaration; export declare class ExtractedExport { readonly node: ExportNode; readonly local: string; readonly exported: string; readonly exportKind: ExportNamedDeclaration['exportKind'] | 'unknown'; readonly kind: 'class' | 'variable' | 'interface' | 'type' | 'function' | 'identifier' | 'unknown'; readonly name: string | null; constructor(node: ExportNode, local: string, exported: string, exportKind: ExportNamedDeclaration['exportKind'] | 'unknown', kind: 'class' | 'variable' | 'interface' | 'type' | 'function' | 'identifier' | 'unknown'); } /** * * @param root * @see https://astexplorer.net/#/gist/2aa27ed655187c1db5badd04522e7784/4789aa42e4b53af9f7cfb39e448a5d64fbc2e9b5 */ export declare function extractExports(root: Node): ExtractedExport[]; export {};