import type { IiosPlatformPorts } from '@insignia/iios-contracts';

type CapabilityPort = IiosPlatformPorts['capability'];

/** Deterministic Capability Broker fake. Reports a successful provider send. */
export class FakeCapability implements CapabilityPort {
  async invoke(_input: unknown): Promise<{ providerRef: string; outcome: string }> {
    return { providerRef: 'fake-provider', outcome: 'SENT' };
  }
}
