import type { File, ImportDeclaration, ImportSpecifier } from '@babel/types'; export declare const getImportedName: (specifier: ImportSpecifier) => string; export declare const findImportDeclaration: (ast: File, sourcePath: string) => ImportDeclaration | null; export declare const insertImportDeclaration: (ast: File, importDeclaration: ImportDeclaration) => void; export declare const normalizeImportSpacing: (input: string) => string; export declare const ensureNamedImport: ({ ast, importedName, sourcePath, localName, }: { ast: File; importedName: string; sourcePath: string; localName: string; }) => string; export declare const ensureNamedImports: ({ ast, importedNames, sourcePath, }: { ast: File; importedNames: ReadonlySet; sourcePath: string; }) => void;