import type * as webpack from "webpack"; import { NodePath } from "@babel/traverse"; import * as t from "@babel/types"; export declare function convert(AST: t.File, visitor?: { getSuperWidget?: ((path: NodePath, context: string) => void) | null | undefined; Logger?: ((path: NodePath, context: string) => void) | null | undefined; exportWidget?: ((path: NodePath, context: string) => void) | null | undefined; decorator?: ((node: t.Identifier, context: string, exportWidgetPath: NodePath) => t.Expression | null) | null | undefined; } | null | undefined): boolean; export declare function getRecordFilepath(webpackContext: webpack.LoaderContext): string;