import { AllowedComponentProps } from 'vue'; import { ComponentCustomProps } from 'vue'; import { ComponentOptionsMixin } from 'vue'; import { ComponentProvideOptions } from 'vue'; import { DefineComponent } from 'vue'; import { PublicProps } from 'vue'; import { ShallowUnwrapRef } from 'vue'; import { VNode } from 'vue'; import { VNodeProps } from 'vue'; declare type __VLS_PrettifyLocal = { [K in keyof T]: T[K]; } & {}; declare type __VLS_Props = Props_2; declare type __VLS_Props_2 = Props_3; declare type __VLS_PublicProps = { modelValue?: number[]; } & __VLS_Props; declare type __VLS_PublicProps_2 = { modelValue?: number[]; } & __VLS_Props_2; export declare const DatePicker: DefineComponent<__VLS_PublicProps, { setCurrentDate: typeof setDefaultValues; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { change: (values: number[]) => any; "update:modelValue": (value: number[]) => any; }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ onChange?: ((values: number[]) => any) | undefined; "onUpdate:modelValue"?: ((value: number[]) => any) | undefined; }>, { columnsType: DatePickerColumnType[]; minDate: Date; maxDate: Date; formatYearLabel: PickerFormatLabel; formatMonthLabel: PickerFormatLabel; formatDayLabel: PickerFormatLabel; }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>; export declare type DatePickerColumnType = 'year' | 'month' | 'day'; export declare type Direction = '' | 'vertical' | 'horizontal'; export declare const Picker: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: __VLS_PrettifyLocal & Omit<{ readonly onChange?: ((values: T[]) => any) | undefined; readonly "onUpdate:modelValue"?: ((value: T[]) => any) | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & ({ modelValue?: T[]; } & Props) & Partial<{}>> & PublicProps; expose(exposed: ShallowUnwrapRef< {}>): void; attrs: any; slots: { loading?(_: {}): any; empty?(_: {}): any; }; emit: ((evt: "change", values: T[]) => void) & ((evt: "update:modelValue", value: T[]) => void); }>) => VNode & { __ctx?: Awaited; }; export declare type PickerColumn = Array | undefined>; export declare type PickerColumnsType = 'single' | 'multiple' | 'cascade'; export declare interface PickerFields { label?: string; value?: string; children?: string; } export declare type PickerFormatLabel = (label: string) => string; export declare interface PickerOption { label?: string | number; value?: T; children?: PickerColumn; [key: PropertyKey]: any; } export declare type PickerSelectedValues = Array['value']>; declare interface Props { columns: PickerColumn | PickerColumn[]; loading?: boolean; columnsFieldNames?: PickerFields; } declare interface Props_2 { columnsType?: DatePickerColumnType[]; minDate?: Date; maxDate?: Date; formatYearLabel?: PickerFormatLabel; formatMonthLabel?: PickerFormatLabel; formatDayLabel?: PickerFormatLabel; } declare interface Props_3 { columnsType?: TimePickerColumnType[]; minTime?: string; maxTime?: string; formatHourLabel?: PickerFormatLabel; formatMinuteLabel?: PickerFormatLabel; formatSecondLabel?: PickerFormatLabel; } declare function setDefaultValues(): void; declare function setDefaultValues_2(): void; export declare const TimePicker: DefineComponent<__VLS_PublicProps_2, { setCurrentTime: typeof setDefaultValues_2; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { change: (values: number[]) => any; "update:modelValue": (value: number[]) => any; }, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{ onChange?: ((values: number[]) => any) | undefined; "onUpdate:modelValue"?: ((value: number[]) => any) | undefined; }>, { columnsType: TimePickerColumnType[]; formatHourLabel: PickerFormatLabel; formatMinuteLabel: PickerFormatLabel; formatSecondLabel: PickerFormatLabel; }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>; export declare type TimePickerColumnType = 'hour' | 'minute' | 'second'; export declare type TimeSelection = Record; export { }