/**
 * Conduit factory — creates a Conduit instance from the agent registry.
 *
 * Auto-selects the appropriate Transport based on the agent's credential
 * configuration. Priority: Local (napi-rs) > WebSocket > SSE > HTTP polling.
 *
 * @see docs/specs/SIGNALDOCK-UNIFIED-AGENT-REGISTRY.md Section 4.5
 * @task T177
 */
import type { AgentCredential, AgentRegistryAPI, Conduit, Transport } from '@cleocode/contracts';
/**
 * Resolve the best available transport for a credential.
 *
 * Cloud-backed agents (apiBaseUrl is a remote URL) use HttpTransport
 * so they can receive messages from the SignalDock cloud relay.
 * LocalTransport is only used when the agent is explicitly local-only
 * (apiBaseUrl is 'local' or absent), since local signaldock.db doesn't
 * sync with the cloud.
 */
export declare function resolveTransport(credential: AgentCredential): Transport;
/** Create a Conduit instance from the agent registry. */
export declare function createConduit(registry: AgentRegistryAPI, agentId?: string): Promise<Conduit>;
//# sourceMappingURL=factory.d.ts.map