import { ReactNode, HTMLAttributes } from 'react';
import { ConfiguredComponent } from '@befe/brick-core';
export declare const SECTION_SIZES: readonly ["sm", "md", "lg", "xl", "xxl"];
type SectionSize = (typeof SECTION_SIZES)[number];
type SectionPropsFromHTMLDivElement = Omit, 'style'>;
export interface SectionProps extends SectionPropsFromHTMLDivElement {
/**
* 自定义 class
*/
className?: string;
/**
* 尺寸
* use config context `baseSize` as default
*/
size?: SectionSize;
/**
* 标题
*/
headlinePrimary?: ReactNode;
/**
* 副标题
*/
headlineSecondary?: ReactNode;
/**
* 标题注释
*/
headlineNote?: ReactNode;
/**
* 标题样式
*/
headlineStyle?: 'bar' | 'plain';
}
export declare class Section extends ConfiguredComponent {
static displayName: string;
static defaultProps: {
className: string;
headlineStyle: string;
};
get className(): string;
get size(): "sm" | "md" | "lg" | "xl" | "xxl";
get divProps(): Omit & Readonly<{
children?: ReactNode;
}>, keyof SectionProps>;
renderHeadline(): false | "" | 0 | import("react/jsx-runtime").JSX.Element | null | undefined;
render(): import("react/jsx-runtime").JSX.Element;
}
export {};