1import { SchedulableNotificationTriggerInput } from './Notifications.types'; 2/** 3 * Allows you to check what will be the next trigger date for given notification trigger input. 4 * @param trigger The schedulable notification trigger you would like to check next trigger date for (of type [`SchedulableNotificationTriggerInput`](#schedulablenotificationtriggerinput)). 5 * @return If the return value is `null`, the notification won't be triggered. Otherwise, the return value is the Unix timestamp in milliseconds 6 * at which the notification will be triggered. 7 * @example Calculate next trigger date for a notification trigger: 8 * ```ts 9 * import * as Notifications from 'expo-notifications'; 10 * 11 * async function logNextTriggerDate() { 12 * try { 13 * const nextTriggerDate = await Notifications.getNextTriggerDateAsync({ 14 * hour: 9, 15 * minute: 0, 16 * }); 17 * console.log(nextTriggerDate === null ? 'No next trigger date' : new Date(nextTriggerDate)); 18 * } catch (e) { 19 * console.warn(`Couldn't have calculated next trigger date: ${e}`); 20 * } 21 * } 22 * ``` 23 * @header schedule 24 */ 25export default function getNextTriggerDateAsync(trigger: SchedulableNotificationTriggerInput): Promise<number | null>; 26//# sourceMappingURL=getNextTriggerDateAsync.d.ts.map