/**
 * CORS設定のセキュリティ強化ユーティリティ
 */
/**
 * CORS設定オプション
 */
export interface CorsOptions {
    origins?: string[];
    allowCredentials?: boolean;
    maxAge?: number;
    allowedHeaders?: string[];
    allowedMethods?: string[];
    exposedHeaders?: string[];
    preflightContinue?: boolean;
    optionsSuccessStatus?: number;
}
/**
 * セキュアなCORS設定を生成
 * @param customOptions カスタムオプション
 */
export declare function getSecureCorsOptions(customOptions?: CorsOptions): CorsOptions;
/**
 * Express.js用のCORSミドルウェア関数を生成
 * @param customOptions カスタムCORSオプション
 */
export declare function createCorsMiddleware(customOptions?: CorsOptions): (req: any, res: any, next: any) => any;
/**
 * CORS設定のログ出力
 */
export declare function logCorsConfiguration(): void;
//# sourceMappingURL=cors.d.ts.map