/** Bounded slash-command and mention completion menu. */ import { type ReactElement } from 'react'; import type { CompletionCandidate } from '../completion.ts'; /** Total physical rows occupied by the completion menu at this terminal height. */ export declare function completionMenuRowCount(terminalRows: number, rowCount: number): number; /** Completion view anchored directly above the composer band. */ export declare function CompletionMenu({ active, mention, index, rows, error }: { active: boolean; mention: boolean; index: number; rows: readonly CompletionCandidate[]; error?: string; }): ReactElement | undefined;