import { EmbeddedController } from '../../util/bxEmbed';
import { Template } from '@bluepic/types';
type __VLS_Props = {
    bxCoreVersion?: string;
    /** Override the sandbox host (defaults to sandbox.bluepic.io). e.g. sandbox.bluepic.eu */
    cloudflarePagesHostname?: string;
    /** Optional asset proxy template, e.g. "https://assets.bluepic.eu/proxy?url=$TARGET". */
    assetProxy?: string;
    serial?: Template.Serial;
    serialWidth?: number;
    serialHeight?: number;
    preview?: string;
    data?: {
        [k: string]: unknown;
    };
};
declare function render(options: {
    type: 'image/png' | 'image/jpeg' | 'image/jpge' | 'image/webp' | 'image/svg+xml' | 'application/vnd.adobe.indesign-idml-package';
    resolution: number;
    quality: number;
    vectorExportOptions?: {
        mode: 'optimized' | 'raw';
        keepGroupTransforms: boolean;
        rasterizeAllMasks: boolean;
        vectorizeAllTexts: boolean;
    };
    watermark: boolean;
    resultType: 'blob';
    externalCanvas: HTMLCanvasElement | null;
}): Promise<Blob>;
declare function render(options: {
    type: 'image/png' | 'image/jpeg' | 'image/jpge' | 'image/webp';
    resolution: number;
    quality: number;
    vectorExportOptions?: {
        mode: 'optimized' | 'raw';
        keepGroupTransforms: boolean;
        rasterizeAllMasks: boolean;
        vectorizeAllTexts: boolean;
    };
    watermark: boolean;
    resultType: 'canvas';
    externalCanvas: HTMLCanvasElement | null;
}): Promise<HTMLCanvasElement>;
declare const _default: import("vue").DefineComponent<__VLS_Props, {
    render: typeof render;
    aspectRatio: import("vue").ComputedRef<number>;
    ready: import("vue").Ref<boolean, boolean>;
    controller: import("vue").Ref<EmbeddedController | undefined, EmbeddedController | undefined>;
    evaluate(func: Function, ...args: string[]): Promise<unknown>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
    error: (args_0: string) => any;
    "update:data": (args_0: {
        [k: string]: unknown;
    }) => any;
    "update:globalScope": (args_0: {
        [k: string]: unknown;
    }) => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
    onError?: ((args_0: string) => any) | undefined;
    "onUpdate:data"?: ((args_0: {
        [k: string]: unknown;
    }) => any) | undefined;
    "onUpdate:globalScope"?: ((args_0: {
        [k: string]: unknown;
    }) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
export default _default;
