import { AccountHandler, AccountHandlerPayload } from '../../../../stellar-plus/account/account-handler/types';
import { NetworkConfig } from '../../../../stellar-plus/network';
export type FreighterAccountHandler = AccountHandler & {
    connect(onPublicKeyReceived: FreighterCallback): Promise<void>;
    disconnect(): void;
    loadPublicKey(onPublicKeyReceived: FreighterCallback, enforceConnection: boolean): Promise<void>;
    isFreighterConnected(enforceConnection?: boolean, callback?: FreighterCallback): Promise<boolean>;
    isFreighterInstalled(): Promise<boolean>;
    isApplicationAuthorized(): Promise<boolean>;
    isNetworkCorrect(): Promise<boolean>;
};
export type FreighterAccHandlerPayload = AccountHandlerPayload & {
    networkConfig: NetworkConfig;
};
export type FreighterCallback = (pk: string) => Promise<void>;
