import type { TextOrSegments, TextSegment, TextValue } from 'ag-charts-types';
import { type FontOptions } from '../../types/text';
export declare function toFontString({ fontSize, fontStyle, fontWeight, fontFamily }: FontOptions): string;
export declare function calcLineHeight(fontSize: number, lineHeightRatio?: number): number;
export declare function toTextString(value: TextValue | undefined): string;
export declare function appendEllipsis(text: string): string;
export declare function guardTextEdges(str: string): string;
export declare function unguardTextEdges(str: string): string;
export declare function isTruncated(value: TextOrSegments): boolean;
export declare function isTextTruncated(str: string): boolean;
export declare function isSegmentTruncated(segment: TextSegment | undefined): boolean;
export { EllipsisChar, LineSplitter, TrimEdgeGuard, TrimCharsRegex } from '../../types/text';
export type { FontOptions } from '../../types/text';
