export declare function hashPassword(password: string): {
    hash: string;
    salt: string;
};
export declare function verifyPassword(submitted: string, storedHash: string, storedSalt: string): boolean;
export declare function generateAuthToken(sessionId: string): string;
export declare function verifyAuthToken(token: string, expectedSessionId: string): boolean;
export declare function isSessionLocked(sessionId: string): boolean;
export declare function recordFailure(sessionId: string): {
    locked: boolean;
    remaining: number;
};
export declare function clearFailures(sessionId: string): void;
