import { PolotnoError } from '@polotno/core/errors'; export declare const setAssetLoadTimeout: (timeout: number) => void; export declare const getAssetLoadTimeout: () => number; export declare const setFontLoadTimeout: (timeout: number) => void; export declare const getFontLoadTimeout: () => number; export declare function incrementLoader(id: string): () => void; export declare function decrementLoader(): void; export declare function whenLoaded(): Promise; export declare function onLoadError(func: (error: PolotnoError) => void): void; export declare function triggerLoadError(error: string | PolotnoError): void;