import { InternalCallbackArgs, InternalHookArgsCallback, Response, After, InternalHookArgsWithPayloadSwr } from './request'; import { SWRError } from './types'; import { RequestParams } from '@siafoundation/request'; export declare function usePatchSwr(args: InternalHookArgsWithPayloadSwr): import("swr").SWRResponse> | undefined>; type PatchFunc = { patch: (args: InternalCallbackArgs) => Promise>; }; export declare function usePatchFunc(args: InternalHookArgsCallback, after?: After): PatchFunc; export {};