import { AsyncQueue } from '../../../shared/hooks'; import { AnyObject, AnyFn } from '../../../shared/types'; export declare namespace FormRequestDefine { type RequestType = 'post' | 'get' | 'patch' | 'delete' | 'put'; interface AsyncQueueItem { key: any; cache?: boolean; url: string; mergeUrl?: string; method?: RequestType; params?: AnyObject; payload?: AnyObject; } type FormAsyncQueue = AsyncQueue; type RequestInstance = Record; type SearchInfo = { method: RequestType; url: string; primaryKeyUrl?: string; mergeUrl?: string; }; type RecommendIds = Partial>; type RecommendInfo = { getRecommendIds(): RecommendIds; url: Record<'get' | 'post' | 'delete', string>; }; type SearchResult = { result: 'SUCCESS' | 'ERROR'; map: { rows: AnyObject[]; total: number; page: number; pageSize: number; fieldList: AnyObject[]; }; }; type SelectResult = { success: boolean; data: AnyObject[]; }; type RecommendResult = { result: 'SUCCESS' | 'ERROR'; obj: Partial>; }; }