export { legacyUserSessions, legacyUserSessionsRelations, legacyUsers, legacyUsersRelations, legacyVerificationCodes } from '../schema/index.js';
import { LegacyAuthDbService } from '../services/index.js';
export { LegacyAuthDbConfig } from '../services/index.js';
export { LegacyApiResponse, LegacyCookieOptions, LegacyLoginRouteConfig, LegacyLogoutRouteConfig, LegacyRegisterRouteConfig, LegacyResetPasswordConfig, LegacySendVerificationCodeConfig, LegacyValidateRouteConfig, createLegacyLoginHandler, createLegacyLogoutHandler, createLegacyRegisterHandler, createLegacyResetPasswordHandler, createLegacySendVerificationCodeHandler, createLegacyValidateHandler } from '../routes/index.js';
import { NextRequest } from 'next/server';
import { U as User } from '../../../index-DNKZ7-R_.js';
import 'drizzle-orm';
import 'drizzle-orm/pg-core';

interface LegacyServerConfig {
    cookieName?: string;
}
declare function createLegacyValidateApiAuth(authService: LegacyAuthDbService, config?: LegacyServerConfig): (request: NextRequest) => Promise<User | null>;

export { LegacyAuthDbService, type LegacyServerConfig, createLegacyValidateApiAuth };
