import React from "react";
/** Figma-aligned: display, h1–h5, subtitle01–03, body01–03. Legacy: h6, body, small, caption, label, hero. */
export type TextVariant = "display" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle01" | "subtitle02" | "subtitle03" | "body01" | "body02" | "body03" | "body" | "small" | "caption" | "label" | "hero";
interface TextProps {
    children: React.ReactNode;
    variant?: TextVariant;
    className?: string;
    as?: React.ElementType;
    style?: React.CSSProperties;
    testId?: string;
    /** Untuk as="label": mengaitkan label ke form control via id. */
    htmlFor?: string;
}
export declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLElement>>;
export default Text;
//# sourceMappingURL=index.d.ts.map