import { type Component } from "@kolisachint/hoocode-tui"; export interface SelectableRow { /** The row's already-styled content, without any left margin. */ text: string; selected?: boolean; } /** * A block of picker rows rendered at terminal width, so the selected one can be * filled edge to edge. * * Pickers used to add one `Text` child per row from an update method that never * sees the width — width only arrives later, when the container renders each * child — which left no point at which a row could be padded before being * painted. Holding the rows and rendering them lazily puts the width back in * reach. * * The left margin is part of the row rather than component padding, so the * highlight starts at column 0 like the session picker's does. */ export declare class SelectedRowList implements Component { private rows; private readonly marginX; constructor(rows?: SelectableRow[], marginX?: number); setRows(rows: SelectableRow[]): void; invalidate(): void; render(width: number): string[]; } //# sourceMappingURL=selected-row-list.d.ts.map