//#region src/plugin-sdk/gateway-method-runtime.d.ts type GatewayMethodDispatchError = { code: string; message: string; details?: unknown; retryable?: boolean; retryAfterMs?: number; }; type GatewayMethodDispatchResponse = { ok: boolean; payload?: unknown; error?: GatewayMethodDispatchError; meta?: Record; }; type GatewayMethodDispatchOptions = { expectFinal?: boolean; timeoutMs?: number; }; /** * Dispatch a Gateway control-plane method from an authenticated plugin request scope. */ declare function dispatchGatewayMethod(method: string, params?: unknown, options?: GatewayMethodDispatchOptions): Promise; //#endregion export { GatewayMethodDispatchError, GatewayMethodDispatchOptions, GatewayMethodDispatchResponse, dispatchGatewayMethod };