import type { TruncationMode } from '../../../../../typography/text-ellipsis/TextEllipsis.js'; import type { TextMeasurer } from '../../../../core/utils/text-measure.js'; import { CanvasTextAreaProps } from '../../../types/canvas-text-area.js'; export declare const getTruncationMethod: (textArea: CanvasTextAreaProps, text: string, truncationMode: TruncationMode, measure: TextMeasurer, contentType?: "value" | "label", fontSize?: number) => () => string;