import { SUBSTRATE_CONTROL_PLANE_PROTOCOL } from "@volter/browser-runtime/browser-hosted-protocol.js"; export interface HostedContractTarget { baseUrl: string; protocol?: typeof SUBSTRATE_CONTROL_PLANE_PROTOCOL; token?: string; fetch?: typeof fetch; } export interface DockerContractTarget { baseUrl: string; token?: string; fetch?: typeof fetch; } export interface HostedContractFailure { label: string; detail?: unknown; } /** The container's wire, in Docker's words: every route of the subset answers Docker's shape, and every refusal is Docker's. */ export declare function runDockerContract({ baseUrl, token, fetch: network }: DockerContractTarget): Promise; /** The control plane's wire: the descriptor negotiated, the catalogue covered, every safe route answering, every refusal a refusal. */ export declare function runHostedContract({ baseUrl, token, fetch: network }: HostedContractTarget): Promise; //# sourceMappingURL=contract.d.ts.map