import type { InputEvent } from "../input/event.ts"; export interface RenderContext { readonly width: number; readonly height?: number; } export interface Component { render(width: number, height?: number): string[]; handleInput?(event: InputEvent): boolean | void; focus?(): void; blur?(): void; dispose?(): void; } export interface Focusable extends Component { focused?: boolean; } //# sourceMappingURL=component.d.ts.map