import { IdentityKitAuthType, IdentityKitAccountsSignerClientOptions, IdentityKitDelegationSignerClientOptions } from "../../../lib"; import { Signer } from "@icp-sdk/signer"; import { Principal } from "@icp-sdk/core/principal"; import { SubAccount } from "@icp-sdk/canisters/ledger/icp"; export declare function useCreateIdentityKit({ selectedSigner, clearSigner, signerClientOptions, authType, onConnectFailure, onConnectSuccess, realConnectDisabled, ...props }: { selectedSigner?: { value: Signer; id?: string; }; clearSigner: () => Promise; authType: T; signerClientOptions?: T extends typeof IdentityKitAuthType.DELEGATION ? Omit : Omit; onConnectFailure?: (e: Error) => unknown; onConnectSuccess?: () => unknown; onDisconnect?: () => unknown; realConnectDisabled?: boolean; }): { user: { principal: Principal; subaccount?: SubAccount; } | undefined; disconnect: () => Promise; icpBalance: number | undefined; signerClient: import("../../..").IdentityKitAccountsSignerClient | undefined; fetchIcpBalance: (() => Promise) | undefined; };