import { Serializable } from '../types';
interface ResetToken<T = any> {
    token: string;
    data: T;
    generationTime: number;
    verifier: string;
}
export declare class Auth {
    static hashPassword(password: string, rounds?: number): Promise<string>;
    static verifyHash(password: string, hash: string): Promise<boolean>;
    static generateResetToken(data: Serializable): Promise<ResetToken>;
    static decodeResetToken<T>(token: string): Promise<ResetToken<T>>;
}
export {};
//# sourceMappingURL=provider.d.ts.map