import { SlotProps } from "../types.cjs"; import { ReactNode, Ref } from "react"; import { AriaLabelingProps } from "@marigold/types"; declare module 'react-aria-components' { interface HeadingProps { as?: 'span' | (string & {}); } } export interface TitleProps extends AriaLabelingProps, SlotProps { /** * The heading level (h1–h6), as a number or its string form. Can also be * supplied via slot context. * @default 2 */ level?: '1' | '2' | '3' | '4' | '5' | '6' | 1 | 2 | 3 | 4 | 5 | 6; /** * The element id. */ id?: string; /** Children of the component. */ children?: ReactNode; /** Ref to the DOM element the component renders. */ ref?: Ref; } declare const Title: ({ ref: refProp, ...inputProps }: TitleProps) => import("react").JSX.Element; export { Title };