import dayjs, { Dayjs, OpUnitType, QUnitType } from 'dayjs'; import { last } from '../utils'; import { StateValueItem } from './useValueBase'; export declare function getNowDate(isEnd?: boolean): dayjs.Dayjs; export declare function clearTime(date: Date): void; export declare function endTime(date: Date): void; export declare function isEqual(a: Dayjs | undefined | null, b: Dayjs | undefined | null, type?: OpUnitType | QUnitType): boolean; export declare function isLT(a: Dayjs | undefined | null, b: Dayjs | undefined | null, type?: OpUnitType | QUnitType): boolean; export declare function isGT(a: Dayjs | undefined | null, b: Dayjs | undefined | null, type?: OpUnitType | QUnitType): boolean; export declare function createDate(date: string): Date; export declare function findValueIndex(values: StateValueItem[], value: StateValueItem, type: OpUnitType | QUnitType): number; export { last };