import { SSESession } from './sse-mcp-server';
export interface AuthConfig {
    apiKey: string;
    sessionTimeout: number;
    maxAuthAttempts: number;
}
export declare class AuthHandler {
    private config;
    private authAttempts;
    private authenticatedSessions;
    constructor(config: AuthConfig);
    authenticate(session: SSESession, apiKey: string): Promise<boolean>;
    isAuthenticated(sessionId: string): boolean;
    clearSession(sessionId: string): void;
}
