import express from 'express';
export declare function createMiddleware(callbacks: {
    onLogin(user: Express.User): void;
    onLogout(user: Express.User): void;
}): Promise<{
    app: express.Application;
    sessionMiddleware: express.RequestHandler;
}>;
//# sourceMappingURL=index.d.ts.map