django-vue3-admin-web/node_modules/@fast-crud/fast-crud/dist/d/use/use-expose.d.ts
2025-10-20 21:21:14 +08:00

23 lines
554 B
TypeScript

import { Ref } from "vue";
import { CrudExpose } from "../d/expose";
import { CrudBinding } from "../d";
export type UseExposeProps<R = any> = {
crudRef: Ref;
crudBinding: Ref<CrudBinding<R>>;
};
export type UseExposeRet<R = any> = {
expose: CrudExpose<R>;
crudExpose: CrudExpose<R>;
};
export type UseEditableProps<R = any> = {
crudExpose: CrudExpose<R>;
};
export type EditableOnEnabledProps = {
editable: any;
};
/**
*
* @param props
*/
export declare function useExpose<R = any>(props: UseExposeProps<R>): UseExposeRet<R>;