import { XummJsonTransaction, XummPostPayloadBodyBlob, XummPostPayloadBodyJson } from 'xumm-sdk/dist/src/types';
import { ILoginAdapter, SignMessageCallbacks, XamanSignInTxResponse } from '../../interfaces';
import { XummPkceEventKey, UniversalSdkEventKey, FvXaman } from '../useXamanClient';
type XamanSignRequestResponse = {
    transactionHex: string;
    signResponseData: XamanSignInTxResponse;
};
type XamanPayload = XummPostPayloadBodyJson | XummPostPayloadBodyBlob | XummJsonTransaction;
export interface IXamanLoginAdapter {
    connect: ILoginAdapter['connect'];
    getEthAccount: ILoginAdapter['getEthAccount'];
    signPayload: (payload: XamanPayload, signMessageCallbacks?: SignMessageCallbacks) => Promise<XamanSignRequestResponse>;
    logout: () => Promise<void>;
}
export declare function useXamanLoginAdapter(xamanClient: FvXaman, eventKeysToUnsub?: {
    universalSdkEventKeys?: UniversalSdkEventKey[];
    xummPkceEventKeys?: XummPkceEventKey[];
}): {
    xamanLoginAdapter: IXamanLoginAdapter;
};
export {};
