module HTTPX module Plugins module Cookies type jar = Jar | _Each[Jar::cookie] interface _CookieOptions def cookies: () -> Jar? end def self.extra_options: (Options) -> (Options & _CookieOptions) module InstanceMethods def cookies: () -> Jar end module HeadersMethods def set_cookie: (Array[Cookie]) -> void end end type sessionCookies = Session & Cookies::InstanceMethods type headersCookies = Headers & Cookies::HeadersMethods end end