/** * Layout constants and utility functions for SearchableMultiSelect. * * These values are shared between the component itself and the callers * that need to pre-calculate the visible item count. */ /** Lines rendered per choice item (title + subtitle + meta) */ export declare const ITEM_HEIGHT = 3; /** * Lines reserved for chrome around the item list: * header(2) + search box(4) + status(2) + scroll indicators(2) + footer(2) = 12 */ export declare const RESERVED_LINES = 12; /** Gets terminal width, falling back to 80 if not available */ export declare function getTerminalWidth(): number; /** Gets terminal height, falling back to 24 if not available */ export declare function getTerminalHeight(): number; /** * Calculates the effective limit for the item list * based on terminal height to prevent the input field from being hidden. */ export declare function calculateEffectiveLimit(configLimit: number): number; //# sourceMappingURL=layout.d.ts.map