import EmbeddedController from '../util/bluepicEmbed';
import { Template } from '@bluepic/types';
type __VLS_Props = {
    templateId: string;
    embedApiBaseUrl: string;
    env: 'prod' | 'dev';
    cloudflarePagesHostname: string;
    bxCoreVersion?: string;
    data?: {
        [k: string]: any;
    };
    fonts?: {
        name: string;
        src: string;
    }[];
    webgl?: boolean;
    resolution?: number;
    asyncSerial?: boolean;
    baseSerial?: Template.Serial;
};
declare function webglSupported(): Promise<boolean>;
declare function renderWebGL(options: {
    type: 'image/png' | 'image/jpeg' | 'image/jpge' | 'image/webp';
    resolution?: number;
    quality?: number;
    area?: {
        x: number;
        y: number;
        width: number;
        height: number;
    };
}): Promise<Blob>;
declare const _default: import("vue").DefineComponent<__VLS_Props, {
    renderWebGL: typeof renderWebGL;
    webglSupported: typeof webglSupported;
    resolveData: () => Promise<{
        [k: string]: any;
    } | undefined>;
    controller: import("vue").Ref<EmbeddedController | undefined, EmbeddedController | undefined>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
    error: (...args: any[]) => void;
    "update:data": (...args: any[]) => void;
    "update:ready": (...args: any[]) => void;
    "update:serial": (...args: any[]) => void;
    "update:globalScope": (...args: any[]) => void;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
    onError?: ((...args: any[]) => any) | undefined;
    "onUpdate:data"?: ((...args: any[]) => any) | undefined;
    "onUpdate:ready"?: ((...args: any[]) => any) | undefined;
    "onUpdate:serial"?: ((...args: any[]) => any) | undefined;
    "onUpdate:globalScope"?: ((...args: any[]) => any) | undefined;
}>, {
    bxCoreVersion: string;
    data: {
        [k: string]: any;
    };
    fonts: {
        name: string;
        src: string;
    }[];
    webgl: boolean;
    resolution: number;
    asyncSerial: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
export default _default;
