import type { InputValue, TdButtonProps, TdInputProps, TdLoadingProps } from 'tdesign-vue-next'; export interface QdReadWriteProps extends TdInputProps { loading?: boolean; loadingProps?: TdLoadingProps; edit?: boolean; editBtn?: boolean | TdButtonProps; onConfirm?: (value: T) => void; onCancel?: (value: T) => void; hideActions?: boolean; confirmBtn?: TdButtonProps; cancelBtn?: TdButtonProps; }