import type SourceMap from '@atlaspack/source-map'; import type { Async, Blob, Bundle, BundleGraph, Dependency, NamedBundle } from '@atlaspack/types-internal'; export declare function replaceURLReferences({ bundle, bundleGraph, contents, map, getReplacement, relative, }: { bundle: NamedBundle; bundleGraph: BundleGraph; contents: string; relative?: boolean; map?: SourceMap | null | undefined; getReplacement?: (arg1: string) => string; }): { readonly contents: string; readonly map: SourceMap | null | undefined; }; export declare function replaceInlineReferences({ bundle, bundleGraph, contents, map, getInlineReplacement, getInlineBundleContents, }: { bundle: Bundle; bundleGraph: BundleGraph; contents: string; getInlineReplacement: (arg1: Dependency, arg2: 'string' | null | undefined, arg3: string) => { from: string; to: string; }; getInlineBundleContents: (arg1: Bundle, arg2: BundleGraph) => Async<{ contents: Blob; }>; map?: SourceMap | null | undefined; }): Promise<{ readonly contents: string; readonly map: SourceMap | null | undefined; }>; export declare function getURLReplacement({ dependency, fromBundle, toBundle, relative, getReplacement, }: { dependency: Dependency; fromBundle: NamedBundle; toBundle: NamedBundle; relative: boolean; getReplacement?: (arg1: string) => string; }): { from: string; to: string; };