UNPKG

vue-admin-core

Version:
13 lines (12 loc) 512 B
import { Form, FormPathPattern } from "@formily/core"; import { Options, Service } from "../useRequest/src/types"; import { Ref } from "vue"; export declare const useRemote: <TData, TParams extends any[]>({ form, target }: { form: Ref<Form>; target: FormPathPattern; }, service: Service<TData, TParams>, options: Options<TData, TParams> & { pagination?: boolean | { totalKey: string; listKey: string; } | undefined; }) => import("../useRequest/src/types").Result<TData, TParams>;