type TruncationOptions = {
    limit?: number;
    ellipsis?: string;
    ellipsisWidth?: number;
};
type WidthOptions = {
    ansiWidth?: number;
    controlWidth?: number;
    tabWidth?: number;
    ambiguousWidth?: number;
    emojiWidth?: number;
    fullWidthWidth?: number;
    regularWidth?: number;
    wideWidth?: number;
};
type Result = {
    width: number;
    index: number;
    truncated: boolean;
    ellipsed: boolean;
};
export type { TruncationOptions, WidthOptions, Result };
