import { type Context, defineService } from "@earendil-works/chord"; export interface PresentationSelectItem { readonly value: string; readonly label: string; readonly description?: string; } /** Narrow process-local UI capabilities available to presentation facets. */ export interface PresentationUI { select( title: string, items: readonly PresentationSelectItem[], selectedValue: string | undefined, context: Context, ): Promise; showStatus(message: string, context: Context): void; } export const PresentationUI = defineService("pi.local.presentation-ui", { local: true });