import type { LoaderPlugin } from '@scalar/json-magic/bundle'; import { fetchUrls } from '@scalar/json-magic/bundle/plugins/browser'; import { type AsyncApiSchemaResources } from './resources.js'; /** The renderer supplies authored source and the origin captured before bundling relocates it. */ export type AsyncApiSchemaResourceResolver = (format: string, source: unknown, resources?: AsyncApiSchemaResources) => Promise; /** Keep downloads and complete graphs outside authored state, scoped to one document revision. */ export declare const createAsyncApiSchemaResourceResolver: (options?: Parameters[0] & { origin?: string; fileLoader?: LoaderPlugin; usePreparedResources?: boolean; }) => AsyncApiSchemaResourceResolver; //# sourceMappingURL=resolver.d.ts.map