import type { KeyEvent } from "@opentui/core"

export type ClawAutocompleteRef = {
  onInput: (value: string) => void
  onCursorChange: () => void
  onKeyDown: (e: KeyEvent) => void
  dismiss: () => void
  visible: boolean
}

export type ClawSlashOption = {
  display: string
  description?: string
  aliases?: string[]
  onSelect: () => void
}
