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

15 lines
631 B
TypeScript

import { CrudBinding, CrudExpose, UseCrudProps, UseCrudRet, UseFsProps, UseFsRet } from "../d";
import { Ref } from "vue";
export declare function useCrud<T = any, R = any>(ctx: UseCrudProps<T, R>): UseCrudRet<R>;
export declare function useFs<R = any, C = any>(props: UseFsProps<R, C>): UseFsRet<R, C>;
export declare function useFsAsync<R = any, C = any>(props: UseFsProps<R, C>): Promise<UseFsRet<R, C>>;
export type UseFsRefOptions = {
deep?: boolean;
};
export declare function useFsRef(): {
crudRef: Ref<any, any>;
crudBinding: Ref<CrudBinding, CrudBinding>;
context: any;
crudExpose: CrudExpose<any>;
};