import { BaseProps } from "../_utils/props.js"; import React from "react"; //#region src/typography/types.d.ts type TextType = 'default' | 'secondary' | 'success' | 'warning' | 'danger' | 'info'; type TypographyTextTag = 'span' | 'label' | 'small' | 'strong' | 'em' | 'i' | 'b' | 'mark' | 'kbd' | 'time'; type TypographyParagraphTag = 'p' | 'div' | 'blockquote'; interface TypographyEllipsisConfig { rows?: number; tooltip?: boolean | React.ReactNode; } interface TypographyCopyableConfig { text?: string; onCopy?: (copied: boolean, text: string) => void; icon?: React.ReactNode; copiedIcon?: React.ReactNode; resetDuration?: number; } interface TypographyProps extends BaseProps, React.ComponentPropsWithoutRef<'div'> { children?: React.ReactNode; } interface ParagraphProps extends BaseProps, React.ComponentPropsWithoutRef<'p'> { as?: TypographyParagraphTag; ellipsis?: boolean | TypographyEllipsisConfig; children?: React.ReactNode; } interface HeadingProps extends BaseProps, React.HTMLAttributes { level?: 1 | 2 | 3 | 4 | 5 | 6; children?: React.ReactNode; } interface TextProps extends BaseProps, React.ComponentPropsWithoutRef<'span'> { as?: TypographyTextTag; type?: TextType; copyable?: boolean | TypographyCopyableConfig; ellipsis?: boolean | TypographyEllipsisConfig; code?: boolean; del?: boolean; underline?: boolean; strong?: boolean; italic?: boolean; mark?: boolean; sub?: boolean; sup?: boolean; children: React.ReactNode; } //#endregion export { HeadingProps, ParagraphProps, TextProps, TextType, TypographyCopyableConfig, TypographyEllipsisConfig, TypographyParagraphTag, TypographyProps, TypographyTextTag }; //# sourceMappingURL=types.d.ts.map