1 | import { FlatpickrFn } from "./types/instance";
|
2 | import { Instance as _Instance } from "./types/instance";
|
3 | import {
|
4 | Options as _Options,
|
5 | Hook as _Hook,
|
6 | HookKey as _HookKey,
|
7 | ParsedOptions as _ParsedOptions,
|
8 | DateLimit as _DateLimit,
|
9 | DateOption as _DateOption,
|
10 | DateRangeLimit as _DateRangeLimit,
|
11 | Plugin as _Plugin,
|
12 | } from "./types/options";
|
13 |
|
14 | import {
|
15 | Locale as _Locale,
|
16 | CustomLocale as _CustomLocale,
|
17 | key as _LocaleKey,
|
18 | } from "./types/locale";
|
19 |
|
20 | declare var flatpickr: FlatpickrFn;
|
21 |
|
22 | declare namespace flatpickr {
|
23 | export type Instance = _Instance;
|
24 | export type CustomLocale = _CustomLocale;
|
25 | export type Locale = _Locale;
|
26 |
|
27 | export namespace Options {
|
28 | export type Options = _Options;
|
29 | export type Hook = _Hook;
|
30 | export type HookKey = _HookKey;
|
31 | export type ParsedOptions = _ParsedOptions;
|
32 | export type DateLimit = _DateLimit;
|
33 | export type DateOption = _DateOption;
|
34 | export type DateRangeLimit = _DateRangeLimit;
|
35 | export type Plugin = _Plugin;
|
36 | export type LocaleKey = _LocaleKey;
|
37 | }
|
38 | }
|
39 |
|
40 | export default flatpickr;
|