export type BundlerRead = (url: string) => Promise<Buffer>;
export type BundlerResolveUrl = (url: string, base: string) => string;
export declare function bundleFileWithRefs(fileWithRefs: string, baseUrl: string, read: BundlerRead, resolveUrl: BundlerResolveUrl): Promise<string>;
