import type { NotificationDeliveryAction, NotificationDeliveryDecision, NotificationDeliveryThreadState, NotificationPriority, NotificationRecord } from './types.js'; export type NotificationDeliveryPolicyDecision = NotificationDeliveryAction | NotificationDeliveryDecision; export type NotificationDeliveryPolicyInput = { record: NotificationRecord; threadState: NotificationDeliveryThreadState; now: Date; }; export type NotificationDeliveryPolicyDecider = (input: NotificationDeliveryPolicyInput) => NotificationDeliveryPolicyDecision | undefined | Promise; export type NotificationDeliveryPolicyConfig = { default?: NotificationDeliveryPolicyDecision; priorities?: Partial>; sources?: Record; decide?: NotificationDeliveryPolicyDecider; }; export declare function defaultNotificationDeliveryDecision(input: NotificationDeliveryPolicyInput): NotificationDeliveryDecision; export declare function resolveNotificationDeliveryDecision({ config, ...input }: NotificationDeliveryPolicyInput & { config?: NotificationDeliveryPolicyConfig; }): Promise; //# sourceMappingURL=delivery-policy.d.ts.map