import type { DbOperation } from './types.ts'; interface LoginParams { username: string; password: string; } interface LoginResult { id: number; username: string; created_at: Date; } /** * Authenticate a user with username and password * @param client Database client * @param params Login parameters * @returns The authenticated user info * @throws Error if credentials are invalid */ export declare const login: DbOperation<[LoginParams], LoginResult>; export {}; //# sourceMappingURL=login.d.ts.map