/**
 * Security Route Helper Functions
 *
 * This module provides utility functions for adding security features to routes.
 */
import type { IRouteConfig } from '../../models/route-types.js';
/**
 * Create a rate limiting route pattern
 * @param baseRoute Base route to add rate limiting to
 * @param rateLimit Rate limiting configuration
 * @returns Route with rate limiting
 */
export declare function addRateLimiting(baseRoute: IRouteConfig, rateLimit: {
    maxRequests: number;
    window: number;
    keyBy?: 'ip' | 'path' | 'header';
    headerName?: string;
    errorMessage?: string;
}): IRouteConfig;
/**
 * Create a basic authentication route pattern
 * @param baseRoute Base route to add authentication to
 * @param auth Authentication configuration
 * @returns Route with basic authentication
 */
export declare function addBasicAuth(baseRoute: IRouteConfig, auth: {
    users: Array<{
        username: string;
        password: string;
    }>;
    realm?: string;
    excludePaths?: string[];
}): IRouteConfig;
/**
 * Create a JWT authentication route pattern
 * @param baseRoute Base route to add JWT authentication to
 * @param jwt JWT authentication configuration
 * @returns Route with JWT authentication
 */
export declare function addJwtAuth(baseRoute: IRouteConfig, jwt: {
    secret: string;
    algorithm?: string;
    issuer?: string;
    audience?: string;
    expiresIn?: number;
    excludePaths?: string[];
}): IRouteConfig;
