import $kdeOFQljIqf from"../../../../../../io/netty/channel/ChannelPromise"; import $uWEOYVjJJVNb from"../../../../../../io/netty/handler/codec/http/cors/CorsConfig"; import $nIDErZleePb from"../../../../../../io/netty/handler/codec/http/HttpRequest"; import $PPzEsphFKyVb from"../../../../../../io/netty/channel/ChannelDuplexHandler"; import $FnXrwoFVYpW from"../../../../../../io/netty/util/internal/logging/InternalLogger"; import $xNwMZJOQLWWb from"../../../../../../io/netty/channel/ChannelHandlerContext"; import $bDgxOBl_tIi from"../../../../../../java/lang/Throwable"; import $zoDqIfGN_Uu from"../../../../../../io/netty/handler/codec/http/HttpResponse"; export default class CorsHandler extends $PPzEsphFKyVb{ request:$nIDErZleePb; config:$uWEOYVjJJVNb; static logger:$FnXrwoFVYpW; constructor(config:$uWEOYVjJJVNb); channelRead(msg:any,ctx:$xNwMZJOQLWWb):void; handlePreflight(ctx:$xNwMZJOQLWWb,request:$nIDErZleePb):void; setPreflightHeaders(response:$zoDqIfGN_Uu):void; setOrigin(response:$zoDqIfGN_Uu):boolean; validateOrigin():boolean; echoRequestOrigin(response:$zoDqIfGN_Uu):void; static setVaryHeader(response:$zoDqIfGN_Uu):void; static setAnyOrigin(response:$zoDqIfGN_Uu):void; static setOrigin(response:$zoDqIfGN_Uu,origin:string):void; setAllowCredentials(response:$zoDqIfGN_Uu):void; static isPreflightRequest(request:$nIDErZleePb):boolean; setExposeHeaders(response:$zoDqIfGN_Uu):void; setAllowMethods(response:$zoDqIfGN_Uu):void; setAllowHeaders(response:$zoDqIfGN_Uu):void; setMaxAge(response:$zoDqIfGN_Uu):void; write(msg:$kdeOFQljIqf,ctx:any,$_this_$:$xNwMZJOQLWWb):void; exceptionCaught(cause:$bDgxOBl_tIi,ctx:$xNwMZJOQLWWb):void; static forbidden(request:$nIDErZleePb,ctx:$xNwMZJOQLWWb):void; }