@archway-kit/vue
Version:
Vue components to interact with the Archway network
31 lines (30 loc) • 1.48 kB
TypeScript
declare const _default: <TValue extends string | number | boolean | object | null | undefined, TOption>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
readonly "onUpdate:modelValue"?: ((value: TValue[]) => any) | undefined;
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & {
modelValue?: TValue[];
options: TOption[];
getValue: (o: TOption) => TValue;
getKey?: (o: TOption, i: number) => string | number;
disabled?: boolean;
}> & import('vue').PublicProps;
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
attrs: any;
slots: {
default?(_: {
option: TOption;
add: (value: TValue) => void;
remove: (value: TValue) => void;
included: boolean;
}): any;
};
emit: (e: "update:modelValue", value: TValue[]) => void;
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
[key: string]: any;
}> & {
__ctx?: Awaited<typeof __VLS_setup>;
};
export default _default;
type __VLS_PrettifyLocal<T> = {
[K in keyof T]: T[K];
} & {};