GamePortrait/node_modules/vant/es/contact-list/ContactList.d.ts

33 lines
1.4 KiB
TypeScript

import { type PropType, type ExtractPropTypes } from 'vue';
import { type Numeric } from '../utils';
export type ContactListItem = {
id?: Numeric;
tel: Numeric;
name: string;
isDefault?: boolean;
};
export declare const contactListProps: {
list: PropType<ContactListItem[]>;
addText: StringConstructor;
modelValue: PropType<unknown>;
defaultTagText: StringConstructor;
};
export type ContactListProps = ExtractPropTypes<typeof contactListProps>;
declare const _default: import("vue").DefineComponent<{
list: PropType<ContactListItem[]>;
addText: StringConstructor;
modelValue: PropType<unknown>;
defaultTagText: StringConstructor;
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:modelValue" | "add" | "edit")[], "select" | "update:modelValue" | "add" | "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
list: PropType<ContactListItem[]>;
addText: StringConstructor;
modelValue: PropType<unknown>;
defaultTagText: StringConstructor;
}>> & {
onSelect?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onEdit?: ((...args: any[]) => any) | undefined;
onAdd?: ((...args: any[]) => any) | undefined;
}, {}>;
export default _default;