import{postCortexMessage as t,CortexProtocolMessageType as o}from"./cortexProtocol.js";import e from"./ShimResponse.js";const n={pluginInit:()=>{t({type:o.Init})},getContext:async()=>await t({type:o.Context}),proxyFetch:async(n,i)=>{const p=await t({init:i,input:n,type:o.Fetch});return new e(p)}};export{n as CortexApi};
//# sourceMappingURL=CortexApi.js.map
