import type { ConfigType, Dayjs, ManipulateType, OpUnitType } from "dayjs"; export type XyDateValue = ConfigType; export interface XyDateAdapter { add: (value: XyDateValue, amount: number, unit: ManipulateType) => Dayjs; compare: (a: XyDateValue, b: XyDateValue, unit?: OpUnitType) => number; format: (value: XyDateValue, format: string) => string; isValid: (value: XyDateValue) => boolean; parse: (value: XyDateValue) => Dayjs; startOf: (value: XyDateValue, unit: OpUnitType) => Dayjs; } export declare const xyDayjsAdapter: XyDateAdapter;