import { Input, Output, RouteDetails, STATUS_CODE, RequestStatusEnum } from '../../../types/index';
import { Refund } from '../auto/useAutoHistory';

export declare const useStatus: ({ requestHash, enabled, }: {
    requestHash: string;
    enabled?: boolean;
}) => {
    data: StatusItem | undefined;
    isLoading: boolean;
    refetch: (options?: import('@tanstack/react-query').RefetchOptions) => Promise<import('@tanstack/react-query').QueryObserverResult<StatusItem, Error>>;
};
export interface StatusItem {
    hash: string;
    bungeeStatusCode: STATUS_CODE;
    routeDetails: RouteDetails;
    originData: OriginStatusData;
    destinationData: DestinationStatusData;
    refund?: Refund | null;
}
export interface OriginStatusData {
    input: Input[];
    originChainId: number;
    txHash: string | null;
    userAddress: string;
    status: keyof typeof RequestStatusEnum;
    timestamp: number | null;
}
export interface DestinationStatusData {
    output: Output[];
    destinationChainId: number;
    txHash: string | null;
    receiverAddress: string;
    status: keyof typeof RequestStatusEnum;
    timestamp: number | null;
}
