import type { NoticeItem } from "./types.js"; import { type OpenGeniText } from "../messages/runtime.js"; /** An approval notice the person has since answered. */ export declare function noticeIsResolvedApproval(item: Pick): boolean; /** * What an approval asked, as history: its question without the question mark * or anything after it ("Remove the Gmail connection for anna@example.com? * …" → "Remove the Gmail connection for anna@example.com"). A quoted name * (“…”) keeps its own punctuation. */ export declare function approvalHistoryTitle(title: string): string; /** * A resolved approval notice reads as history, saying what the person * decided for each action whose answer is known, one line each: "You * approved “Remove the Gmail connection for anna@example.com”." Actions it * asked about but never got an answer for here (a later wait asked again) * are left out. Two that would read the same get the first fact that tells * them apart: "(Added: 2 Oct 2026, 10:12 UTC)". */ export declare function noticeDisplayText(t: OpenGeniText, item: Pick): string; /** Notice pill tone: failures stay red, an open wait keeps the waiting hue. */ export declare function noticeTone(item: Pick): "failed" | "waiting" | "neutral"; /** * Plain-text summary of a recorded agent wait, as web's quiet disclosure reads * it: "Waited for 2 agents · 3m 5s" once later input ended the wait, otherwise * "Waiting · since 10:32" (with the date on a later day). */ export declare function recordedWaitSummaryText(t: OpenGeniText, item: Pick, now?: Date): string;