import { fabric } from 'fabric';
import { DraftTemplate } from '../types';
/**
 * Loads a template image onto a canvas with enhanced error handling and fallbacks
 *
 * @param fabricCanvas The Fabric.js canvas instance
 * @param template The template containing image information
 * @param width The canvas width
 * @param height The canvas height
 * @returns Promise that resolves when the image is loaded
 */
export declare const loadRegularImagePromise: (fabricCanvas: fabric.Canvas, template: DraftTemplate, width: number, height: number) => Promise<void>;
