import { ModelRef } from 'vue'; export interface ListItem extends Record { id?: number | string; label: string; } /** * emits */ export interface Emits { (event: 'change', item: ListItem): void; (event: 'cancel', item: MouseEvent): void; } export interface Props { /** * 数据列表 */ list: ListItem[]; /** * 索引名 */ index?: string; /** * 数据展示属性名 */ label?: string; } /** * useShowSheet */ export declare namespace USEShowSheet { interface Option { visibleModel: ModelRef; } } /** * useBtns */ export declare namespace USEBtns { interface Option { emit: Emits; visibleModel: ModelRef; } }