import type { AgentConfig } from '../../shared/agent-config.js'; import type { Reminder } from '../../shared/reminder.js'; import type { AgentStatusSummary } from '../../shared/snapshot.js'; type MrkdwnText = { type: 'mrkdwn'; text: string; }; type PlainText = { type: 'plain_text'; text: string; emoji?: boolean; }; type ImageElement = { type: 'image'; image_url: string; alt_text: string; }; type ButtonElement = { type: 'button'; text: PlainText; action_id: string; value?: string; }; type SectionAccessory = ImageElement | ButtonElement; type ShortcutModalBlock = { type: 'section'; text: MrkdwnText; accessory?: SectionAccessory; } | { type: 'context'; elements: Array; } | { type: 'header'; text: PlainText; } | { type: 'divider'; } | { type: 'actions'; elements: ButtonElement[]; }; export type ShortcutModalView = { blocks: ShortcutModalBlock[]; callback_id?: string; close?: PlainText; private_metadata?: string; submit?: PlainText; title: PlainText; type: 'modal'; }; export interface ShortcutModalInput { callbackId?: string; close?: string; context?: string; lines: string[]; privateMetadata?: string; submit?: string; title: string; } export declare function homeView(agent: AgentConfig, status: AgentStatusSummary, reminders: Reminder[], now: Date): ShortcutModalView; export declare function remindersView(reminders: Reminder[], now: Date): ShortcutModalView; export declare function reminderDetailView(reminder: Reminder, now: Date): ShortcutModalView; export declare function shortcutModal(input: ShortcutModalInput): ShortcutModalView; export declare function preflightLabel(reminder: { preflight?: { command: string; }; preflightError?: unknown; preflightLastResult?: { status: string; }; }): string | undefined; export declare function escapeMrkdwn(value: string): string; export {}; //# sourceMappingURL=shortcut-views.d.ts.map