import { RequestStatus } from './redux-ajax.type'; /** * Check if the given request is pending. */ export declare const isRequestPending: (requestId: string) => (obj: any) => boolean; /** * Check if the given request is successful. */ export declare const isRequestSuccessful: (requestId: string) => (obj: any) => boolean; /** * Check if the given request has failed. */ export declare const isRequestFailed: (requestId: string) => (obj: any) => boolean; /** * Check if the given request is complete (failed or success). */ export declare const isRequestComplete: (requestId: string) => (obj: unknown) => boolean; /** * Check if the given request has been aborted. */ export declare const isRequestAborted: (requestId: string) => (obj: any) => boolean; /** * Retrieve the response of the request if there is one. */ export declare const getResponse: (requestId: string) => (obj: any) => T; /** * Check if the given request has a response. */ export declare const hasResponse: (requestId: string) => (x: any) => boolean; /** * Retrieve the error of the response if there is one. */ export declare const getError: (requestId: string) => (obj: any) => T; /** * Check if the given request has an error. */ export declare const hasError: (requestId: string) => (x: any) => boolean; export declare const getStatus: (requestId: string) => (obj: any) => RequestStatus;