export declare function compareDate(source?: Date | string | null, target?: Date | string | null, nullGreater?: boolean): number;