/** @jsxImportSource react */ import { Widget } from "../ui/Widget"; import { ContainerBase, StyledContainerConfig } from "../ui/Container"; import { RenderingContext } from "../ui/RenderingContext"; import { Instance } from "../ui/Instance"; import { BooleanProp, StringProp, StyleProp, ClassProp, Prop } from "../ui/Prop"; import { Create } from "../util/Component"; export interface SectionConfig extends StyledContainerConfig { id?: Prop; /** Add default padding to the section body. Default is `true`. */ pad?: BooleanProp; /** A custom style which will be applied to the header. */ headerStyle?: StyleProp; /** Additional CSS class to be applied to the header. */ headerClass?: ClassProp; /** A custom style which will be applied to the body. */ bodyStyle?: StyleProp; /** Additional CSS class to be applied to the section body. */ bodyClass?: ClassProp; /** A custom style which will be applied to the footer. */ footerStyle?: StyleProp; /** Additional CSS class to be applied to the footer. */ footerClass?: ClassProp; /** Section's title. */ title?: StringProp; /** Contents that should go in the header. */ header?: Create; /** Contents that should go in the footer. */ footer?: Create; /** Title heading level (1-6) */ hLevel?: number; } export declare class Section extends ContainerBase { headerStyle?: StyleProp; footerStyle?: StyleProp; bodyStyle?: StyleProp; title?: StringProp; header?: Create; footer?: Create; hLevel?: number; pad?: BooleanProp; baseClass: string; init(): void; add(item: any): void; declareData(...args: Record[]): void; initComponents(context: RenderingContext, instance: Instance): void; getHeader(): Widget | null; getFooter(): Widget | null; prepareData(context: RenderingContext, instance: Instance): void; initInstance(context: RenderingContext, instance: Instance): void; render(context: RenderingContext, instance: Instance, key: string): React.ReactNode; } //# sourceMappingURL=Section.d.ts.map