import { type AdapterContext, type DesignReference, type ReferenceAdapter } from "@design-parity/core"; export interface BundleAdapterOptions { } export declare class BundleAdapter implements ReferenceAdapter { readonly source: "bundle"; constructor(_options?: BundleAdapterOptions); /** * Resolve an image-bundle reference from a committed directory or `.zip`. * * @param componentId resolver-supplied code handle (authoritative). * @param ref repo-relative path to the bundle (the `design-map` ref). * @param ctx consumer repo root + environment. * @throws {@link BundleNotFoundError} if the bundle is missing; * {@link BundleManifestError} if `manifest.json` is absent/invalid or its * `componentId` contradicts `componentId`; * {@link BundleImageNotFoundError} if a declared image is not in the bundle. */ resolve(componentId: string, ref: string, ctx: AdapterContext): Promise; } /** Convenience factory. */ export declare function createBundleAdapter(opts?: BundleAdapterOptions): BundleAdapter; //# sourceMappingURL=adapter.d.ts.map