import { type ElementType } from 'react'; import { type ChildrenProps, type PositiveInteger, type StyleProps } from './shared'; export declare const TruncateModes: { readonly LINES: "lines"; readonly WORDS: "words"; readonly CHARACTERS: "characters"; }; export type TruncateMode = (typeof TruncateModes)[keyof typeof TruncateModes]; export interface SpiritTruncateProps extends StyleProps, ChildrenProps { elementType?: E; limit?: PositiveInteger; mode?: TruncateMode; }