import { AuthStorage, EmailProvider, FrameworkAdapter, AuthConfig, User, Session } from './types'; export declare class AuthService { private storage; private email; private framework; config: AuthConfig; constructor(storage: AuthStorage, email: EmailProvider, framework: FrameworkAdapter, config: AuthConfig); sendOTP(email: string): Promise; verifyOTPAndSignIn(otpId: string, email: string, code: string): Promise; verifyOTPAndSignUp(otpId: string, email: string, code: string): Promise; createSession(userId: string, ipAddress?: string, userAgent?: string): Promise; verifySession(): Promise<{ user: User; session: { id: string; createdAt: Date; updatedAt: Date; expiresAt: Date; }; } | null>; needsRefresh(updatedAt: Date): boolean; refreshSession(sessionId: string): Promise; signOut(): Promise; private setSessionCookie; private generateOTPCode; private generateSessionToken; } //# sourceMappingURL=auth.d.ts.map