/// <reference types="mongoose/types/pipelinestage" />
/// <reference types="mongoose/types/error" />
/// <reference types="mongoose/types/connection" />
import { Document } from 'mongoose';
export interface UserDoc extends Document {
    username: string;
    hashedPassword: string;
    authorized: boolean;
}
export declare const User: import("mongoose").Model<UserDoc, {}, {}, {}>;
export declare const createUser: (data: {
    username: string;
    hashedPassword: string;
}) => Promise<UserDoc & {
    _id: any;
}>;
