import { Granularity } from './types.js'; export declare function addDays(start: Date, amount: number, condition: (d: Date) => boolean, maxShift?: number): Date; export declare function shiftDate(date: Date | number, amount: number, granularity: Granularity, local?: boolean): Date; /** @deprecated Use {@link shiftDate} instead */ export declare const add: typeof shiftDate; export declare function startOf(d: Date | number, g: Granularity, local?: boolean): Date; export declare function endOf(d: Date | number, g: Granularity, local?: boolean): Date; export declare function isSame(d1: Date | number, d2: Date | number, g: Granularity, local?: boolean): boolean;