import type { ImageAdapterFactory } from "./ImageAdapterFactory"; import { type BrowserCanvas } from "./Canvas"; import type { ImageAdapter } from "./ImageAdapter"; /** * Canvas image adapter factory. */ export declare class CanvasFactory implements ImageAdapterFactory { /** * @inheritDoc */ match(resource: unknown): boolean; /** * @inheritDoc */ create(resource: BrowserCanvas): ImageAdapter; }