import { ChainEnum, MFAAction, TokenScope } from '@dynamic-labs/sdk-api-core';
import { GetWalletPasswordFn, IDynamicWaasConnector, Wallet, WalletConnectorCore } from '@dynamic-labs/wallet-connector-core';
/**
 * Type for wallet creation requirements
 * For BTC: includes bitcoinConfig with addressType
 * For other chains: bitcoinConfig is optional
 */
export type WalletCreationRequirement = {
    chain: ChainEnum;
    bitcoinConfig?: {
        addressType?: string;
        network?: string;
    };
};
export declare const configWaasWalletConnector: ({ walletConnector, environmentId, apiBaseUrl, relayUrl, baseClientKeysharesRelayApiUrl, authMode, getSignedSessionId, getSessionPublicKey, getMfaToken, getWalletPassword, getSvmGasSponsorshipEnabled, getElevatedAccessToken, onUnauthorized, }: {
    walletConnector: IDynamicWaasConnector;
    environmentId: string;
    apiBaseUrl: string;
    relayUrl: string;
    baseClientKeysharesRelayApiUrl?: string;
    authMode?: 'cookie' | 'header';
    getSignedSessionId: () => Promise<string>;
    getSessionPublicKey?: () => Promise<string | undefined>;
    getMfaToken: (props?: {
        mfaAction?: MFAAction;
    }) => Promise<string | undefined>;
    getWalletPassword?: GetWalletPasswordFn;
    getSvmGasSponsorshipEnabled?: () => boolean;
    getElevatedAccessToken?: (params: {
        scope: TokenScope;
    }) => Promise<string | undefined>;
    onUnauthorized?: () => void | Promise<void>;
}) => IDynamicWaasConnector;
export declare const useDynamicWaas: () => {
    areWalletsReadyForSettings: () => boolean;
    clearRecoveredWallets: () => void;
    createWalletAccount: (requirementsOrChainNames: WalletCreationRequirement[] | ChainEnum[], password?: string, bitcoinConfig?: {
        addressType?: string;
        network?: string;
    }, options?: {
        skipCloseAuthFlow?: boolean;
    }) => Promise<any[] | undefined>;
    dynamicWaasIsEnabled: boolean;
    getWaasWalletConnector: (chainName: string) => IDynamicWaasConnector | undefined;
    getWaasWallets: () => Wallet<WalletConnectorCore.WalletConnector>[];
    getWaasWalletsByCredentials: () => import("@dynamic-labs/sdk-api-core").JwtVerifiedCredential[];
    importPrivateKey: ({ chainName, privateKey, addressType, legacyWalletId, password, }: {
        chainName: ChainEnum;
        privateKey: string;
        addressType?: string;
        legacyWalletId?: string;
        password?: string;
    }) => Promise<void>;
    initializeWaas: ({ forceClientRebuild, }?: {
        forceClientRebuild?: boolean;
    }) => Promise<void>;
    migrateFromFireblocks: ({ deviceId, jwt, password, storage, expectedAddresses, }: {
        deviceId: string;
        jwt: string;
        password: string;
        storage: Record<string, string>;
        expectedAddresses: Record<string, string>;
    }) => Promise<Record<string, unknown> | undefined>;
    needsAutoCreateWalletChains: WalletCreationRequirement[];
    needsSettingsProcessing: boolean;
    processSignOnWalletSettings: () => Promise<void>;
    shouldInitializeWaas: boolean;
    upgradeToDynamicWaas: ({ privateKey, wallet, password, }: {
        privateKey: string;
        wallet: Wallet<WalletConnectorCore.WalletConnector>;
        password?: string;
    }) => Promise<void>;
};
