import type { StringElement } from "../component.cjs";
/**
 * The props of the {@link Heading} component.
 *
 * @property children - The text to display in the heading.
 * @property size - The size of the heading. Defaults to `sm`.
 */
type HeadingProps = {
    children: StringElement;
    size?: 'sm' | 'md' | 'lg' | undefined;
};
/**
 * A heading component, which is used to display heading text.
 *
 * @param props - The props of the component.
 * @param props.children - The text to display in the heading.
 * @param props.size - The size of the heading. Defaults to `sm`.
 * @returns A heading element.
 * @example
 * <Heading>Hello world!</Heading>
 * @example
 * <Heading size="lg">Hello world!</Heading>
 */
export declare const Heading: import("../component.cjs").SnapComponent<HeadingProps, "Heading">;
/**
 * A heading element.
 *
 * @see Heading
 */
export type HeadingElement = ReturnType<typeof Heading>;
export {};
//# sourceMappingURL=Heading.d.cts.map