export declare const resetStyleContent = "\n  p {\n    margin: 0;\n    padding: 0;\n    word-wrap: break-word; /* Required for Firefox */\n    /* a text may have several spaces, we need to preserve them */\n    white-space: pre-wrap;\n  }\n  ul, ol {\n    list-style-position: outside;\n    margin: 0;\n    padding: 0;\n    display: inline-block;\n    text-align: left;\n    width: 100%;\n  }\n  li {\n    margin-left: 1.7em;\n    padding-left: 0.5em; /* This should match the margin-left value */\n  }\n  /* Add resets */\n  ul {\n    list-style-type: disc;\n  }\n  ol {\n    list-style-type: decimal;\n  }\n  \n";
export declare const prerenderFont: (fontFamily: string) => Promise<void>;
export declare function isContentWrapping({ html }: {
    html: any;
}): boolean;
export declare function detectSize(html: any): {
    width: number;
    height: number;
};
export declare function htmlToCanvas({ html, width, height, fontFamily, padding, font, pixelRatio, }: {
    html: any;
    width: any;
    height: any;
    fontFamily: any;
    padding: any;
    font: any;
    pixelRatio: any;
}): Promise<HTMLCanvasElement>;
