//#region src/proxy/shared/types.d.ts interface SimpleRequest { url: string; method: string; headers: Record; } interface SimpleProxyResult { continue: boolean; redirect?: { destination: string; permanent: boolean; }; rewrite?: string; requestHeaders?: Record; responseHeaders?: Record; response?: { status: number; headers: Record; body?: string; }; } //#endregion //#region src/proxy/runtime-executor.d.ts declare global { interface GlobalThis { '~rariExecuteProxy'?: (request: SimpleRequest) => Promise; } } declare function initializeProxyExecutor(proxyModulePath: string, rariRequestPath: string): Promise; //#endregion export { initializeProxyExecutor };