import { type ReportRequest, type ReportResponse, type ReportResponseJson, type SimpleConsensusInputs } from '../../../../../../../generated/sdk/v1alpha/sdk_pb'; import { type Value, type ValueJson } from '../../../../../../../generated/values/v1/values_pb'; /** * Mock for ConsensusCapability. Use testInstance() to obtain an instance; do not construct directly. * Set per-method properties (e.g. performAction) to define return values. If a method is invoked without a handler set, an error is thrown. */ export declare class ConsensusMock { static readonly CAPABILITY_ID = "consensus@1.0.0-alpha"; /** Set to define the return value for Simple. May return a plain object (ValueJson) or the message type. */ simple?: (input: SimpleConsensusInputs) => Value | ValueJson; /** Set to define the return value for Report. May return a plain object (ReportResponseJson) or the message type. */ report?: (input: ReportRequest) => ReportResponse | ReportResponseJson; private constructor(); /** * Returns the mock instance for this capability. * Multiple calls with the same arguments return the same instance. * Must be called within the test framework's test() method. */ static testInstance(): ConsensusMock; }