import { type BlackoutError, type UserReturns } from '@farfetch/blackout-client'; import type { UseUserReturnsOptions } from './types/index.js'; declare function useUserReturns(options?: UseUserReturnsOptions): { isLoading: boolean; isFetched: boolean; error: BlackoutError | null; data: UserReturns | undefined; actions: { fetch: () => Promise; fetchReturn: (returnId: number, config?: import("@farfetch/blackout-client").Config | undefined) => Promise; resetReturn: (returnIds: number[]) => void; updateReturn: (returnId: number, data: import("@farfetch/blackout-client").PatchReturnData, config?: import("@farfetch/blackout-client").Config | undefined) => Promise; createReturn: (data: import("@farfetch/blackout-client").PostReturnData, config?: import("@farfetch/blackout-client").Config | undefined) => Promise; }; }; export default useUserReturns;