import { React } from "@lattice-ui/core"; import type { Sx } from "../sx/sx"; type StyleProps = React.Attributes & Record; export type TextProps = { asChild?: boolean; sx?: Sx; /** * Opt-in single-line overflow handling. When `true`, text that does not fit * the label's width is clipped with a trailing ellipsis (`TextTruncate.AtEnd`). * An explicit `TextTruncate` prop still wins over this shorthand. */ truncate?: boolean; children?: React.ReactNode; } & StyleProps; export declare function Text(props: TextProps): React.JSX.Element; export {};