File size: 406 Bytes
c9c900b
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import type { ElementTable } from 'claude-code'

/**
 * The element constructors the pane draws with, destructured from the
 * table `$.ui.resolve(e)` hands the render hook.
 *
 * The terminal and the desktop carry all five; the mobile app has no
 * Select, so the pane never draws there.
 */
export type Ui = Pick<
  ElementTable<'terminal' | 'desktop'>,
  'Box' | 'Text' | 'Button' | 'Select' | 'Code'
>