export declare const NEXUS_CONTEXT_TOKEN_HEADER_KEY = "x-nexus-context-token"; export declare const GLOBAL_KEY_NEXUS_RUNTIME = "__nexus_runtime__"; export declare const NEXUS_FETCH_CONTENT_HEADER_KEY = "x-nexus-fetch-content"; export declare const NEXUS_RESPONSE_FETCH_CONTENT_HEADER_KEY = "x-nexus-response-fetch-content"; /** 与 runtime GatewayInvocationOptions 对应:headers 追加/覆盖请求头,parse 自定义 payload 序列化 */ export interface NexusGatewayInvocationOptions { headers?: Record; parse?: (body: unknown) => unknown; } export declare const invoke: (gateway: string, endpoint: string, payload: unknown, options?: NexusGatewayInvocationOptions) => Promise; export declare const fetch: (url: string, init?: RequestInit) => Promise; //# sourceMappingURL=common.d.ts.map