import { Document } from 'mongoose'; export interface AuthUser { id: string; email: string; name?: string; } export interface AuthContextType { user: AuthUser | null; isLoading: boolean; isInitialized: boolean; login: (email: string, password: string) => Promise<{ success: boolean; error?: string; }>; register: (email: string, password: string, name?: string) => Promise<{ success: boolean; error?: string; }>; logout: () => Promise; refreshUser: () => Promise; } export interface RequestContext { userId: string | null; isAdmin: boolean; } export interface OwnedDocument extends Document { owner_user_id: string; created_at: Date; updated_at: Date; } //# sourceMappingURL=types.d.ts.map