import { Ref } from 'vue'; import { XSelectEvents, XSelectProps } from '../../basic'; export interface XSelectRequestEvents extends XSelectEvents { prepare: [parameters: { path: PT; query: QR; }, input?: string]; } export interface XSelectRequestProps extends Omit, 'supplement'> { request: () => { data: Ref; execute: () => PromiseLike; isFetching: Ref; path: Ref; query: Ref; url: U; }; supplement?: (lacks: V[], url: U) => D[] | PromiseLike; } declare const __VLS_export: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: import('vue').PublicProps & __VLS_PrettifyLocal<(XSelectRequestProps & { modelValue?: MV; }) & { "onUpdate:modelValue"?: ((value: MV | undefined) => any) | undefined; onFocus?: ((e: FocusEvent) => any) | undefined; onBlur?: ((e: FocusEvent) => any) | undefined; onChange?: ((value: V) => any) | undefined; onPrepare?: ((parameters: { path: PT; query: QR; }, input?: string | undefined) => any) | undefined; }> & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: import('vue').ShallowUnwrapRef<{ data: Ref; execute: () => PromiseLike; path: Ref; query: Ref; search: import('@vueuse/core').UseDebounceFnReturn<(input?: string) => Promise>; url: U; }>) => void; attrs: any; slots: {}; emit: (((evt: "focus", e: FocusEvent) => void) & ((evt: "blur", e: FocusEvent) => void) & ((evt: "change", value: V) => void) & ((evt: "prepare", parameters: { path: PT; query: QR; }, input?: string | undefined) => void)) & ((event: "update:modelValue", value: MV | undefined) => void); }>) => import('vue').VNode & { __ctx?: NonNullable>; }; declare const _default: typeof __VLS_export; export default _default; type __VLS_PrettifyLocal = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};