import { type Overlay, type OverlayHost } from "../overlay-host.js"; import type { RoostPort } from "../roost-port.js"; /** What the orders overlay asks of the daemon. */ export interface OrdersPort { concierge: { orders: Pick; }; } /** What the overlays need of the view. */ export type ConciergeHost = Pick, "port" | "theme" | "say" | "close" | "requestRender" | "termRows">; /** What the answer overlay needs: no daemon. */ export type AnswerHost = Pick, "theme" | "close" | "requestRender" | "termRows">; /** * M46: the standing orders, newest first; ↑↓ scroll, Esc closes. `undefined` when there are * none (the host has been told). A failed load throws (the view's command says it). */ export declare function createOrdersOverlay(host: ConciergeHost): Promise; /** M44: the concierge's answer to `? …`, wrapped; ↑↓ scroll, Esc closes. */ export declare function createAnswerOverlay(host: AnswerHost, opts: { answer: string; }): Overlay;