import type { CustomElement } from '..'; import { type JSXElement } from '../basic-config'; export interface TypographyProps { /** 自定义类名 */ class?: string; /** 自定义样式表 */ css?: string; /** 文本格式 * @default 'text' */ type?: 'primary' | 'warning' | 'success' | 'error' | 'text' | 'secondary'; /** 启用超出隐藏 * @default false */ truncated?: boolean | number; /** 自定义标签名 * @default 'span' */ tag?: string; /** 禁用 */ disabled?: boolean; children?: JSXElement; style?: Record; } declare function Typography(props: TypographyProps): import("solid-js").JSX.Element; declare namespace Typography { var registry: () => void; } export type TypographyElement = CustomElement; export default Typography;