import { IAuthResponse } from '@ecocms/common';
import { Model } from '~/core/model';
import { IUserRecord } from './types';
declare class AuthModel extends Model<IUserRecord> {
    constructor();
    setPassword: (user: IUserRecord, password: string) => void;
    validatePassword: (user: IUserRecord, password: string) => any;
    generateJWT: (user: IUserRecord) => Promise<any>;
    toAuthResponse: (user: IUserRecord) => Promise<IAuthResponse>;
}
export declare const users: AuthModel;
export {};
