/**
* html/typography — polymorphic typography primitives with CVA.
*
* All typography CVA lives here. typography.tsx re-exports from this file.
* These are intentionally polymorphic (via `as` prop) so they render as
* the semantically appropriate heading or text element at the call site.
*/
import type { ComponentPropsWithoutRef, ElementType } from "react";
import { type VariantProps } from "class-variance-authority";
export declare const headingVariants: (props?: ({
size?: "inherit" | "sm" | "lg" | "xs" | "md" | "xl" | null | undefined;
tone?: "default" | "primary" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
type HeadingProps = {
as?: T;
className?: string;
} & VariantProps & Omit, "as" | "className">;
export declare function Heading({ as, size, tone, className, ...props }: HeadingProps): import("react").JSX.Element;
export declare const textVariants: (props?: ({
tone?: "default" | "primary" | "muted" | "inherit" | "destructive" | "success" | null | undefined;
size?: "inherit" | "sm" | "lg" | "md" | null | undefined;
weight?: "bold" | "inherit" | "semibold" | "medium" | "normal" | null | undefined;
align?: "inherit" | "center" | "left" | "right" | null | undefined;
truncate?: boolean | null | undefined;
lineClamp?: 1 | "none" | 2 | 3 | null | undefined;
mono?: boolean | null | undefined;
tabular?: boolean | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
type TextProps = {
as?: T;
className?: string;
} & VariantProps & Omit, "as" | "className">;
export declare function Text({ as, tone, size, weight, align, truncate, lineClamp, mono, tabular, className, children, ...props }: TextProps): import("react").JSX.Element;
export {};
//# sourceMappingURL=typography.d.ts.map