import type { BaseComponentProps } from '../../types/base'; import { type ElementType, type HtmlHTMLAttributes, type PropsWithChildren } from 'react'; import type { KernTextSize, KernTextType } from '../../types/components/text'; export interface KernTextProps extends BaseComponentProps, never> { type?: KernTextType; size?: KernTextSize; /** * NOTE: Only allowed with "body" type */ bold?: boolean; /** * NOTE: Only allowed with "body" type */ muted?: boolean; component?: ElementType; } /** * KernText. * * @example * ```tsx * Text here * ``` * * @see https://www.kern-ux.de/komponenten/text/ */ declare const KernText: ({ children, type, size, bold, muted, className, component, ...otherProps }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element; export default KernText; //# sourceMappingURL=kern-text.d.ts.map