import { TextFormat } from './textToPath';
export type RasterizationResult = {
    dataUrl: string;
    width: number;
    height: number;
    fontBoundingBoxAscent: number;
    fontBoundingBoxDescent: number;
    textBaseline: 'alphabetic' | 'top' | 'hanging' | 'middle' | 'ideographic' | 'bottom';
};
export declare function rasterizeText(text: string, format: TextFormat, stylesheet: string, fill: string, stroke: string, strokeWidth: number, assetProxyTemplate?: string): Promise<RasterizationResult>;
