/** * One-shot calendar processing state. * * Tracks which emails have already been auto-processed for calendar/reminder * creation via the hook system. Once an email is marked as processed, the * auto-trigger is suppressed — the user must explicitly instruct the AI to * create further events or reminders for that email. * * Manual tool calls (add_to_calendar, create_reminder) always work regardless * of this state — it only gates the automatic hook trigger. */ export type CalendarAction = 'event' | 'reminder' | 'both' | 'skipped'; export interface ProcessedEntry { processedAt: string; action: CalendarAction; title?: string; } /** Returns true if this email has already been auto-processed by the hook system. */ export declare function isCalendarProcessed(accountName: string, emailId: string): Promise; /** Marks an email as processed so the hook auto-trigger won't fire again. */ export declare function markCalendarProcessed(accountName: string, emailId: string, action: CalendarAction, title?: string): Promise; /** Returns all processed entries (for inspection/debugging). */ export declare function listCalendarProcessed(): Promise<{ key: string; entry: ProcessedEntry; }[]>; //# sourceMappingURL=calendar-state.d.ts.map