import { Component } from 'react'; import type { HeadingProps } from './props'; import { AsElementType } from '@instructure/shared-types'; /** --- category: components --- **/ declare class Heading extends Component { static readonly componentId = "Heading"; static allowedProps: readonly (keyof { aiVariant?: "stacked" | "horizontal" | "iconOnly"; children?: React.ReactNode; border?: "none" | "top" | "bottom"; color?: "primary" | "secondary" | "primary-inverse" | "secondary-inverse" | "inherit" | "ai"; level?: ("h1" | "h2" | "h3" | "h4" | "h5" | "h6") | "reset"; as?: AsElementType; margin?: import("@instructure/emotion").Spacing; elementRef?: (element: Element | null) => void; renderIcon?: import("@instructure/shared-types").Renderable; variant?: "titlePageDesktop" | "titlePageMobile" | "titleSection" | "titleCardSection" | "titleModule" | "titleCardLarge" | "titleCardRegular" | "titleCardMini" | "label" | "labelInline"; })[]; static defaultProps: { readonly children: null; readonly border: "none"; readonly color: "inherit"; }; ref: Element | null; handleRef: (el: Element | null) => void; checkProps(): void; componentDidMount(): void; componentDidUpdate(): void; renderContent(): string | number | boolean | Iterable | import("@emotion/react/jsx-runtime").JSX.Element | null | undefined; getAriaLabel(): string | undefined; render(): import("@emotion/react/jsx-runtime").JSX.Element; } export default Heading; export { Heading }; //# sourceMappingURL=index.d.ts.map