import type { ResidentDeliveryGate } from './outbox.js'; /** @experimental A daily allowed delivery window in an explicit named time zone. */ export interface ResidentDeliveryWindowConfig { readonly timeZone: string; /** Inclusive local minute of the day, from 0 through 1439. */ readonly startMinute: number; /** Exclusive local minute of the day; less than startMinute means overnight. */ readonly endMinute: number; } /** * @experimental Admit delivery within a daily local-time window, without model * calls. The start is inclusive and the end exclusive; equal boundaries are * rejected. Omit this gate when no time restriction is wanted. * * Future admission searches actual UTC minute boundaries, so nonexistent local * times are skipped and repeated times can open the window twice. The search * is bounded to 72 hours and the Date range; no opening returns nextCheckAt:null. * Historic time zones with second-based offsets may defer up to one extra minute. * This gate does not schedule a timer, authorize a destination or send a message. */ export declare function createResidentDeliveryWindow(config: ResidentDeliveryWindowConfig): ResidentDeliveryGate; //# sourceMappingURL=delivery-window.d.ts.map