import { type Request, type RequestJson, type Response } from '../../../../../generated/capabilities/networking/http/v1alpha/client_pb'; import type { NodeRuntime, Runtime } from '../../../../../sdk'; import type { ConsensusAggregation, PrimitiveTypes, UnwrapOptions } from '../../../../../sdk/utils'; export declare class SendRequester { private readonly runtime; private readonly client; constructor(runtime: NodeRuntime, client: ClientCapability); sendRequest(input: Request | RequestJson): { result: () => Response; }; } /** * Client Capability * * Capability ID: http-actions@1.0.0-alpha * Capability Name: http-actions * Capability Version: 1.0.0-alpha */ export declare class ClientCapability { /** The capability ID for this service */ static readonly CAPABILITY_ID = "http-actions@1.0.0-alpha"; static readonly CAPABILITY_NAME = "http-actions"; static readonly CAPABILITY_VERSION = "1.0.0-alpha"; sendRequest(runtime: NodeRuntime, input: Request | RequestJson): { result: () => Response; }; sendRequest(runtime: Runtime, fn: (sendRequester: SendRequester, ...args: TArgs) => TOutput, consensusAggregation: ConsensusAggregation, unwrapOptions?: TOutput extends PrimitiveTypes ? never : UnwrapOptions): (...args: TArgs) => { result: () => TOutput; }; private sendRequestCallHelper; private sendRequestSugarHelper; }