import { Bounds, History } from './types'; interface ComposeImageOpts { image: HTMLImageElement; width: number; height: number; history: History; bounds: Bounds; scale: number; } export default function composeImage({ image, width, height, history, bounds, scale }: ComposeImageOpts): Promise; export {};