import type { SignalValue, SimpleSignal } from '@revideo/core'; import { BBox } from '@revideo/core'; import type { ShapeProps } from './Shape'; import { Shape } from './Shape'; export interface TxtLeafProps extends ShapeProps { children?: string; text?: SignalValue; } export declare const TXT_TYPE: unique symbol; export declare class TxtLeaf extends Shape { protected static readonly segmenter: any; readonly text: SimpleSignal; constructor({ children, ...rest }: TxtLeafProps); protected parentTxt(): (import("./Node").Node & Record) | null; protected draw(context: CanvasRenderingContext2D): Promise; protected drawText(context: CanvasRenderingContext2D, text: string, box: BBox): Promise; protected getCacheBBox(): BBox; protected applyFlex(): void; protected updateLayout(): void; } //# sourceMappingURL=TxtLeaf.d.ts.map