import type { UnitTypeLongPlural } from "dayjs";
type ExcludedKeys = "milliseconds" | "dates" | "years" | "months";
type DiffKey = Exclude<UnitTypeLongPlural, ExcludedKeys>;
type Diff = Record<DiffKey, string | undefined>;
declare const useCountdown: (deadline: Date | string | number | undefined, excludedKeys?: DiffKey[], compact?: boolean) => Diff;
export { useCountdown };
