/**
 * Auth API routes
 *
 * Login, logout, session verification, and auth status endpoints.
 */
import type { FastifyInstance } from 'fastify';
import { type AuthService } from '../../services/auth-service.js';
import type { WorkspaceManager } from '../../core/workspace-manager.js';
/** Check if an email is currently locked out. Returns seconds remaining, or 0 if not locked. */
export declare function checkRateLimit(email: string): number;
/** Record a failed login attempt. */
export declare function recordFailedAttempt(email: string): void;
/** Clear failed attempts on successful login. */
export declare function clearAttempts(email: string): void;
export declare function registerAuthApiRoutes(fastify: FastifyInstance, authService: AuthService, workspacePath: string, workspaceManager: WorkspaceManager, workspaceName?: string): Promise<void>;
