export interface DailyDigestKeyPoint {
  content: string
  source: string
}

export interface DailyDigestSuggestion {
  text: string
  type?: 'action' | 'info' | 'warning'
}

export interface DailyDigestItem {
  date: string
  summary: string
  keyPoints: DailyDigestKeyPoint[]
  suggestions: DailyDigestSuggestion[]
}

export interface DailyDigestListResponse {
  items: DailyDigestItem[]
}

export interface DueReminderItem {
  id: string
  content?: string
  title?: string
  trigger_at?: string
}

export interface DueReminderListResponse {
  items: DueReminderItem[]
}

export function getDailyDigest(date: string): Promise<{ data: DailyDigestItem }>
export function getRecentDigests(limit?: number): Promise<{ data: DailyDigestListResponse }>
export function createReminder(content: string, triggerAt: string, triggerType?: string): Promise<unknown>
export function snoozeReminder(id: string, minutes: number): Promise<unknown>
export function dismissReminder(id: string): Promise<unknown>
export function getDueReminders(): Promise<{ data: DueReminderListResponse }>
