UNPKG

html2canvas

Version:
11 lines (10 loc) 468 B
import { CSSParsedDeclaration } from '../index'; import { Bounds } from './bounds'; import { Context } from '../../core/context'; export declare class TextBounds { readonly text: string; readonly bounds: Bounds; constructor(text: string, bounds: Bounds); } export declare const parseTextBounds: (context: Context, value: string, styles: CSSParsedDeclaration, node: Text) => TextBounds[]; export declare const segmentGraphemes: (value: string) => string[];