import cors, { CorsOptions } from 'cors';
/**
 * CORS configuration following best practices:
 * - Development: permissive for localhost and same-network devices
 * - Production: strict, origins read from CORS_ALLOWED_ORIGIN (comma-separated)
 */
export declare function getCorsOptions(): CorsOptions;
export declare function createCorsMiddleware(): (req: cors.CorsRequest, res: {
    statusCode?: number | undefined;
    setHeader(key: string, value: string): any;
    end(): any;
}, next: (err?: any) => any) => void;
//# sourceMappingURL=cors.d.ts.map