import dayjs from 'dayjs'; import { TReferenceProps } from '../../..'; import { IDateProps, TDateValidatorResult } from '../_types'; export interface IIsNotInFutureProps { /** * Delta to be added (eg: you have a `Date.now()` of `1998-01-14` and a `delta` of `[[1, 'day']]`, then the minimal date will be `1998-01-15`). You can also use negative value. This property is useful when you are using refs. */ delta?: [value: number, type: dayjs.ManipulateType][]; /** * Whether the `Date.now() + delta` date should be accepted. * * @default false */ included?: boolean; } /** * Check if the date is not in the future. */ export declare const isNotInFuture: (props?: TReferenceProps & IDateProps) => TDateValidatorResult;