import type { LocalizationProvider } from '@atlaskit/locale/localization-provider';
/**
 * There are props that can change how the date is parsed.
 * The priority of props used is:
 *   1. `parseInputValue`
 *   2. `dateFormat` (when `platform-dst-dp-parse-date-format` is on)
 *   3. `locale`
 *
 * `dateFormat` only wins when the input actually parses against it, otherwise
 * `locale` parsing is used.
 */
export declare const parseDate: (date: string, di: {
    parseInputValue: ((date: string, dateFormat: string) => Date) | undefined;
    dateFormat: string | undefined;
    l10n: LocalizationProvider;
}) => Date;
