export interface CorsConfig {
    allowedOrigins: string[] | '*';
    allowedMethods?: string[];
    allowedHeaders?: string[];
    exposedHeaders?: string[];
    credentials?: boolean;
    maxAge?: number;
}
/** Build CORS headers for a given request origin. */
export declare function getCorsHeaders(requestOrigin: string | null, config: CorsConfig): Record<string, string>;
//# sourceMappingURL=cors.d.ts.map