import MagicString from "magic-string"; /** * Ensures every import/re-export whose specifier contains `prefix` starts on * its own line. The ServiceNow instance rewrites these paths to point at * different bundles; if the import shares a line with other statements the * column shift corrupts their sourcemap entries too. * * Uses `es-module-lexer` to locate both static and dynamic imports reliably. * Only exported for testability. */ export declare function isolateExternalImports(code: string, prefix: string): Promise<{ code: string; map: ReturnType; } | null>;