import { Result as Result$1 } from '../../types/Result.js'; import { C as Compute } from '../../../../../Compute-f53b8251.js'; import '../../types/UnitInfo.js'; import '../../types/DryRunResult.js'; import '../../types/HTTPResponse.js'; type GetRequestOptions = { query: { /** The target process' ID. */ ["process-id"]: string; }; } & RequestInit; /** * This class is responsible for interacting with the following endpoints: * * - `{cu-url}/result/{message-id}` * * Methods within this class provide HTTP-like APIs. */ declare class Result { protected message_id: string; protected compute_unit: Compute; constructor(computeUnit: Compute, messageId: string); /** * Make the following request(s): * ```text * GET {cu-url}/result/{message-id}?process-id={process-id} * ``` * @param options Options to pass to the request. * @returns The result of the request. * * @example * ```ts * const res = await new ComputeUnit() * .result() * .message("1447") * .get({ query: { "process-id": "1557" } }); * * // - end of example - * ``` * * @link [Example URL](https://cu68.ao-testnet.xyz/result/nmrwM1i0InBqpIUHyHVrnW4o9rIgKagCLx5CPev0CJQ?process-id=91rtZiRskK4sy4aIDir-waISHDUno3v1MwctlbMpAkg) */ get(options: GetRequestOptions): Promise; } export { GetRequestOptions, Result };