import { PersonData } from '../services/blockchain/contracts/TonomyContract';
import { TonomyUsername } from '../util/username';
import { ILoginOptions, IUserOnboarding } from '../types/User';
import { UserDataVault } from './UserDataVault';
export declare class UserOnboarding extends UserDataVault implements IUserOnboarding {
    private chainID;
    private validateUsername;
    private createDid;
    login(username: TonomyUsername, password: string, options: ILoginOptions): Promise<PersonData>;
    isLoggedIn(): Promise<boolean>;
    createPerson(): Promise<void>;
    saveUsername(username: string): Promise<void>;
    usernameExists(username: string): Promise<boolean>;
    updateKeys(password: string): Promise<void>;
    checkKeysStillValid(): Promise<boolean>;
    logout(): Promise<void>;
    checkTableExists(tableName: string): Promise<boolean>;
    initializeKycDataSource(): Promise<void>;
    initializeFromStorage(): Promise<boolean>;
}
//# sourceMappingURL=UserOnboarding.d.ts.map