/// <reference types="@adonisjs/hash/build/adonis-typings" />
import type { HashContract } from '@ioc:Adonis/Core/Hash';
import type { ProviderUserContract, DatabaseProviderRow, DatabaseProviderConfig } from '@ioc:Adonis/Addons/Auth';
/**
 * Database user works a bridge between the provider and the guard
 */
export declare class DatabaseUser implements ProviderUserContract<DatabaseProviderRow> {
    user: DatabaseProviderRow | null;
    private config;
    private hash;
    constructor(user: DatabaseProviderRow | null, config: DatabaseProviderConfig, hash: HashContract);
    /**
     * Returns the value of the user id
     */
    getId(): any;
    /**
     * Verifies the user password
     */
    verifyPassword(plainPassword: string): Promise<boolean>;
    /**
     * Returns the user remember me token or null
     */
    getRememberMeToken(): string | null;
    /**
     * Updates user remember me token
     */
    setRememberMeToken(token: string): void;
}
