import type { Component } from "../../runtime/component.ts"; import { type BorderStyle } from "../../theme/spacing.ts"; export interface PanelOptions { readonly title?: string; readonly borderStyle?: BorderStyle; readonly paddingX?: number; readonly paddingY?: number; readonly borderColor?: (text: string) => string; readonly background?: (text: string) => string; readonly child?: Component; readonly lines?: readonly string[]; } /** * A bordered panel with optional title, padding, and background color. * * Renders a rectangular frame with configurable border style (round, * single, double, thick), title bar, interior padding, and background * coloring for the content area. */ export declare class Panel implements Component { private readonly options; constructor(options?: PanelOptions); render(width: number, height?: number): string[]; private buildTopBorder; } //# sourceMappingURL=panel.d.ts.map