/**
 * Recovery Phrase Service - BIP39 Mnemonic Generation
 *
 * Handles generation and restoration of recovery phrases (mnemonic seeds)
 * for backing up and restoring user identities.
 *
 * Note: This module requires the polyfill to be loaded first (done via crypto/index.ts)
 */
export interface RecoveryPhraseResult {
    phrase: string;
    words: string[];
    publicKey: string;
}
export declare class RecoveryPhraseService {
    /**
     * Generate a new identity with a recovery phrase
     * Returns the mnemonic phrase (should only be shown once to the user)
     */
    static generateIdentityWithRecovery(): Promise<RecoveryPhraseResult>;
    /**
     * Generate a 24-word recovery phrase for higher security
     */
    static generateIdentityWithRecovery24(): Promise<RecoveryPhraseResult>;
    /**
     * Restore an identity from a recovery phrase
     */
    static restoreFromPhrase(phrase: string): Promise<string>;
    /**
     * Validate a recovery phrase without importing it
     */
    static validatePhrase(phrase: string): boolean;
    /**
     * Get the word list for autocomplete/validation
     */
    static getWordList(): string[];
    /**
     * Check if a word is valid in the BIP39 word list
     */
    static isValidWord(word: string): boolean;
    /**
     * Get suggestions for a partial word
     */
    static getSuggestions(partial: string, limit?: number): string[];
    /**
     * Derive the public key from a phrase without storing
     * Useful for verification before importing
     */
    static derivePublicKeyFromPhrase(phrase: string): Promise<string>;
    /**
     * Convert a phrase to its word array
     */
    static phraseToWords(phrase: string): string[];
    /**
     * Convert a word array to a phrase string
     */
    static wordsToPhrase(words: string[]): string;
}
export default RecoveryPhraseService;
//# sourceMappingURL=recoveryPhrase.d.ts.map