import { PrivateKey } from '@textile/crypto'; export interface TextileStorageAuth { key: string; token: string; sig: string; msg: string; } /** * Space service Hub Auth challenge response * * @internal */ export interface HubAuthResponse { token: string; storageAuth?: TextileStorageAuth; } /** * Authenticates the identity of the user with the auth server at the specified endpoint * using spaces auth solver algorithm * * @param endpoint - Space Websocket Endpoint * @param identity - Private Key Identity for user */ export declare const authenticateSpaceIdentity: (endpoint: string, identity: PrivateKey) => Promise;