import type { Locale } from "date-fns"; import { AbstractPureComponent } from "@blueprintjs/core"; import type { DateFnsLocaleProps } from "../common/dateFnsLocaleProps"; interface DateFnsLocaleState { locale?: Locale | undefined; } /** * Abstract component which accepts a date-fns locale prop and loads the corresponding `Locale` object as necessary. * * Currently used by DatePicker, DateRangePicker, and DateRangeInput, but we would ideally migrate to the * `useDateFnsLocale()` hook once those components are refactored into functional components. */ export declare abstract class DateFnsLocalizedComponent
extends AbstractPureComponent
{
private isComponentMounted;
setState | null) | Pick | Partial | null, callback?: () => void): void;
componentDidMount(): Promise