import type { FastifyInstance, FastifyReply, FastifyRequest } from 'fastify';
import { type AppConfig } from '../config.js';
import type { AuthService } from '../auth/authService.js';
import type { TerminalManager } from '../terminal/TerminalManager.js';
export interface AuthRouteServices {
    authService: AuthService;
    terminalManager: TerminalManager;
}
export declare function requireAllowedOrigin(config: AppConfig, request: FastifyRequest, reply: FastifyReply): Promise<void>;
export declare function registerAuthRoutes(app: FastifyInstance, config: AppConfig, services: AuthRouteServices): Promise<void>;
