import type { Database as DatabaseType } from 'better-sqlite3'; export interface UserRow { id: string; email: string; handle: string | null; role: string; status: string; revoked_at?: string | null; } export declare function normalizeUserRole(role: string): string; export declare function createUser(db: DatabaseType, email: string, role: string): void; export declare function activateUser(db: DatabaseType, email: string, handle: string): boolean; export declare function getUser(db: DatabaseType, email: string): UserRow | undefined; export declare function getUserById(db: DatabaseType, id: string): UserRow | undefined; export declare function getUserByHandle(db: DatabaseType, handle: string): UserRow | undefined; export declare function listUsers(db: DatabaseType): UserRow[]; export declare function revokeUser(db: DatabaseType, email: string): boolean; //# sourceMappingURL=users.d.ts.map