import type { SupabaseClient } from "@supabase/supabase-js"; export declare const CALENDAR_FRESHNESS_MAX_MINUTES = 10; export type IcalImportRow = { id: string; name: string | null; platform_source: string | null; sync_status: string | null; last_synced_at: string | null; error_message: string | null; }; export type CalendarFreshnessResult = { safe: boolean; reason: string | null; checked_at: string; max_age_minutes: number; active_import_count: number; checked_sources: string[]; stale_sources: string[]; error_sources: string[]; latest_synced_at: string | null; }; export declare function checkIcalImportFreshness(supabase: SupabaseClient, propertyId: string, checkedAt: Date): Promise; export declare function calendarFreshnessUnavailablePayload(propertyId: string, checkIn: string, checkOut: string, calendarFreshness: CalendarFreshnessResult): { propertyId: string; checkIn: string; checkOut: string; available: boolean; reasonCode: string; reason: string; calendar_freshness: CalendarFreshnessResult; agentGuidance: string; };