export declare const api: {
    ecclevel: number;
    size: number;
    canvas: CanvasRenderingContext2D;
    getFrame: (string: string) => any[];
    utf16to8: (str: string) => any;
    draw: (str: string, ctx: CanvasRenderingContext2D, startX: number, startY: number, cavW: number, cavH: number, bg: string, color: string, $this?: any, ecc?: number) => void;
};
