import type * as OxcTypes from "@oxc-project/types"; import type MagicString from "magic-string"; export type OxcImport = (OxcTypes.ImportDeclaration | OxcTypes.ExportAllDeclaration | OxcTypes.ExportNamedDeclaration) & { source: OxcTypes.StringLiteral; shouldAddIndex?: boolean; }; export declare function filterImports(program: OxcTypes.Program): OxcImport[]; export declare function rewriteImports(s: MagicString, imports: OxcImport[], entryMap: Record | undefined, inputBase: string, entryFileNames: string, srcFilename: string): string;