UNPKG

622 BTypeScriptView Raw
1import { getFormattedDateString } from "../../common/dateFormatProps";
2import { measureTextWidth } from "../../common/utils";
3import { getDefaultMaxDate, getDefaultMinDate } from "./datePickerCore";
4/**
5 * DatePicker-related utility functions which may be useful outside this package to
6 * build date/time components. Initially created for use in @blueprintjs/datetime2.
7 */
8export declare const DatePickerUtils: {
9 getDefaultMaxDate: typeof getDefaultMaxDate;
10 getDefaultMinDate: typeof getDefaultMinDate;
11 getFormattedDateString: typeof getFormattedDateString;
12 measureTextWidth: typeof measureTextWidth;
13};