import { TextFormat } from './textToPath';
export declare function rasterizeText(text: string, format: TextFormat, stylesheet: string): Promise<{
    dataUrl: string;
    width: number;
    height: number;
    fontBoundingBoxAscent: number;
    fontBoundingBoxDescent: number;
    textBaseline: string;
}>;
