import type { PolymorphicComponent } from "../types/helpers"; import type { StateVariant } from "../types/variants"; /** @alpha */ export interface BaseHeaderProps { /** The initial state of the header (if you want to force a specific state) */ state?: StateVariant; /** Move the border to the top instead of the bottom */ invertBorder?: boolean; /** More compact styles for use in a titlebar */ compact?: boolean; } /** * A header component. * * @example Simple example * * ```tsx *
* * example header bar (just the header) * *
; * ``` * * @example With disabled state * * ```tsx *
* * example header bar (disabled) * * *
; * ``` * * @example With all the bells and whistles * * ```tsx *
* * * example header bar with all the bells and whistles * * * * * * * * * * * * * * * * * * * * * * (command bar for optional actions) * *
; * ``` * * @alpha */ export declare const Header: PolymorphicComponent<"header", BaseHeaderProps>; /** * A header title component, for use in {@link Header}. * * @example Basic usage * * ```tsx * My Application; * ``` * * @alpha */ export declare const HeaderTitle: PolymorphicComponent<"div", {}>; /** * Text for the header component, for use in {@link HeaderTitle}. * * @example Basic usage * * ```tsx * A description or subtitle for the header.; * ``` * * @alpha */ export declare const HeaderText: PolymorphicComponent<"p", {}>; //# sourceMappingURL=Header.d.ts.map