import { VNode } from 'vue'; import { PickerIconName } from './icons'; import { PickerSize, PickerStatus } from './types'; export interface PickerTriggerProps { text?: string; texts?: [string, string]; placeholder?: string; placeholders?: [string, string]; range?: boolean; activeIndex?: 0 | 1; previewIndex?: 0 | 1 | null; preview?: boolean; size?: PickerSize; status?: PickerStatus; bordered?: boolean; disabled?: boolean; disabledSides?: [boolean, boolean]; inputReadOnly?: boolean; allowClear?: boolean; open?: boolean; inputSize?: number; icon?: PickerIconName; suffixIcon?: VNode | (() => VNode); } declare function focus(index?: 0 | 1): void; declare function blur(): void; declare function __VLS_template(): { attrs: Partial<{}>; slots: { separator?(_: {}): any; suffix?(_: {}): any; }; refs: { triggerRef: HTMLDivElement; startItemRef: HTMLSpanElement; inputRef: HTMLInputElement; separatorRef: HTMLSpanElement; endItemRef: HTMLSpanElement; endInputRef: HTMLInputElement; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType; declare const __VLS_component: import('vue').DefineComponent any; blur: (event: FocusEvent) => any; click: (index: 0 | 1) => any; clear: () => any; arrowChange: (offset: number) => any; sideFocus: (index: 0 | 1) => any; textConfirm: (text: string, source: "blur" | "enter", index: 0 | 1) => any; }, string, import('vue').PublicProps, Readonly & Readonly<{ onFocus?: ((event: FocusEvent) => any) | undefined; onBlur?: ((event: FocusEvent) => any) | undefined; onClick?: ((index: 0 | 1) => any) | undefined; onClear?: (() => any) | undefined; onArrowChange?: ((offset: number) => any) | undefined; onSideFocus?: ((index: 0 | 1) => any) | undefined; onTextConfirm?: ((text: string, source: "blur" | "enter", index: 0 | 1) => any) | undefined; }>, { text: string; size: PickerSize; bordered: boolean; icon: PickerIconName; placeholder: string; open: boolean; range: boolean; disabled: boolean; allowClear: boolean; status: PickerStatus; suffixIcon: VNode | (() => VNode); texts: [string, string]; placeholders: [string, string]; activeIndex: 0 | 1; previewIndex: 0 | 1 | null; preview: boolean; disabledSides: [boolean, boolean]; inputReadOnly: boolean; inputSize: number; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { triggerRef: HTMLDivElement; startItemRef: HTMLSpanElement; inputRef: HTMLInputElement; separatorRef: HTMLSpanElement; endItemRef: HTMLSpanElement; endInputRef: HTMLInputElement; }, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };