/** * ZUI SectionHeader Component * Section header for grouping list items */ import { Component } from '../../core/Component'; import type { BaseProps, Rect } from '../../core/types'; export interface SectionHeaderProps extends BaseProps { /** Section title text */ title: string; /** Text color */ color?: string; /** Position X */ x?: number; /** Position Y */ y?: number; /** Width */ width?: number; /** Left padding/margin */ paddingLeft?: number; } /** * SectionHeader component for grouping settings/list items * * @example * ```ts * const header = new SectionHeader({ * title: 'FOCUS', * x: 0, * y: 100, * }); * ``` */ export declare class SectionHeader extends Component { readonly type = "SectionHeader"; private textWidget; protected getDefaultProps(): Partial; protected calculateLayout(parentRect?: Rect): void; protected createWidgets(): void; protected updateWidgets(): void; protected destroyWidgets(): void; /** * Set title text */ setTitle(title: string): void; } /** * Create a SectionHeader component */ export declare function createSectionHeader(props: SectionHeaderProps): SectionHeader; //# sourceMappingURL=SectionHeader.d.ts.map