import type { TextRef } from '../../helpers/internal/types/index.js'; import type { TextCodeProps, TextHeadingProps, TextParagraphProps, TextRootProps } from './text.types.js'; /** * Compound Typography component with semantic sub-components. * * @component Typography - Root text element. Selects a typography preset via * `type` and exposes orthogonal `align`, `color`, `weight`, and `truncate` * props. `truncate` is implemented via React Native's `numberOfLines={1}`; * an explicit `numberOfLines` prop, if provided, takes precedence. When * `type="code"`, the platform-appropriate monospace `fontFamily` from * `styleSheet.code` is merged into `style` (since the project's NativeWind * theme has no `font-mono` token). * * @component Typography.Heading - Convenience wrapper restricted to heading * types (`h1`–`h6`). Sets `accessibilityRole="header"` automatically. * * @component Typography.Paragraph - Convenience wrapper restricted to body * types (`body`, `body-sm`, `body-xs`). * * @component Typography.Code - Chip-styled inline monospaced text. Thin * wrapper that forces `type="code"`; the monospace `fontFamily` is applied * at the root. * * @see Full documentation: https://heroui.com/docs/native/components/typography */ declare const CompoundTypography: import("react").ForwardRefExoticComponent> & { /** Heading text – renders h1-h6 with header accessibility role */ Heading: import("react").ForwardRefExoticComponent>; /** Paragraph text – renders body / body-sm / body-xs */ Paragraph: import("react").ForwardRefExoticComponent>; /** Code text – chip-styled inline monospaced text */ Code: import("react").ForwardRefExoticComponent>; }; export default CompoundTypography; //# sourceMappingURL=text.d.ts.map