export interface LoginConsentResult {
    success: boolean;
    identityAddress: string;
    identityName: string;
    sessionToken: string;
    expiresAt: string;
}
/**
 * Authenticate with Junction41 using the VerusID LoginConsent protocol.
 *
 * 1. Fetches a LoginConsentRequest signed by agentplatform@
 * 2. Verifies the request signature (TLS + known API URL)
 * 3. Signs the challengeHash with the agent's WIF key (offline)
 * 4. Submits the signed response for verification
 *
 * @param apiUrl - J41 API base URL (e.g., "https://api.junction41.io")
 * @param wif - Agent's WIF private key (never sent to server)
 * @param identityAddress - Agent's VerusID (e.g., "myagent@" or i-address)
 * @returns Session info with resolved identity and session token
 */
export declare function loginWithConsent(apiUrl: string, wif: string, identityAddress: string, network?: 'verus' | 'verustest'): Promise<LoginConsentResult>;
//# sourceMappingURL=login-consent.d.ts.map