/** * Interactive Components for Configuration Wizard */ import { Container, SelectList, type SelectItem, type Component } from "@earendil-works/pi-tui"; import type { ChannelScore } from "./config-wizard.js"; export declare class ChannelOrderEditor implements Component { private theme; private models; private currentModelIndex; private currentChannelIndex; private state; private movingFromIndex?; private cachedWidth?; private cachedLines?; private viewportHeight; private scrollOffset; onSkip?: () => void; onComplete?: () => void; constructor(models: Array<{ id: string; channels: ChannelScore[]; }>, theme: any); handleInput(data: string): void; /** * Ensure the cursor position is visible within the viewport */ private ensureCursorVisible; /** * Get the absolute line index of the cursor within the flattened channel list */ private getCursorAbsoluteLine; /** * Get total number of lines in the channel list (headers + channels) */ private getTotalChannelLines; render(width: number): string[]; invalidate(): void; private moveChannelUp; private moveChannelDown; private restoreChannelPosition; getResult(): Array<{ id: string; channels: string[]; }>; } export declare function createStepComponent(stepNum: number, totalSteps: number, title: string, items: SelectItem[], theme: any, onSelect: (value: string) => void, onCancel: () => void): { container: Container; selectList: SelectList; }; //# sourceMappingURL=config-wizard-ui.d.ts.map