import { GitSync } from '../git/sync.js'; export interface Reminder { id: string; username: string; deviceId: string; message: string; createdAt: string; dueAt: string; dismissed: boolean; webhook?: string; } export declare class ReminderManager { private sync; private key; private username; private deviceId; constructor(sync: GitSync, key: Buffer, username: string, deviceId: string); /** * Load all reminders from the sync repo. */ private loadAll; /** * Save all reminders to the sync repo. */ private saveAll; /** * Add a new reminder. */ add(message: string, dueAt: Date, webhook?: string): Promise; /** * Get all pending (not dismissed) reminders for this user. */ getPending(): Promise; /** * Get due reminders (dueAt <= now). */ getDue(): Promise; /** * Dismiss a reminder by ID. */ dismiss(id: string): Promise; /** * Dismiss all due reminders and return them. */ dismissDue(): Promise; /** * Remove old dismissed reminders (cleanup). */ purge(olderThanDays?: number): Promise; } /** * Parse a human-friendly duration/time string into a Date. * Supports: "30m", "2h", "1d", "morgen 9:00", "2026-04-20 14:00" */ export declare function parseReminderTime(input: string): Date; //# sourceMappingURL=manager.d.ts.map