import type { BoxProps, TypographyProps, TypographyTypeMap } from '@mui/material'; import type { PropsWithChildren } from 'react'; import React from 'react'; /** Props for the ellipsize root styled box. */ export interface EllipsizeRootProps extends BoxProps { beforeLineHeight?: string | number; } /** Typography props with ellipsis position control for truncated text. */ export type TypographyWithComponentProps = TypographyProps & { ellipsisPosition?: 'start' | 'end'; fontFamily?: string; }; /** Props for {@link EllipsizeBox}. */ export interface EllipsizeBoxProps extends BoxProps { beforeLineHeight?: number | string; disableSharedRef?: boolean; ellipsisPosition?: 'start' | 'end'; innerWrapProps?: BoxProps; typographyProps?: TypographyWithComponentProps; } /** Box that truncates overflowing text with an ellipsis at the start or end. */ export declare const EllipsizeBox: { ({ ref, innerWrapProps, children, ellipsisPosition, disableSharedRef, typographyProps, ...props }: PropsWithChildren): React.JSX.Element; displayName: string; }; //# sourceMappingURL=Ellipsize.d.ts.map