/**
 * Resolves the agent-relay-broker binary path at runtime.
 *
 * Usage:
 *   import { getBrokerBinaryPath } from '@agent-relay/sdk/broker-path';
 *   const binPath = getBrokerBinaryPath();
 */
export declare function getOptionalDepPackageName(platform?: NodeJS.Platform, arch?: string): string;
/**
 * Resolve the agent-relay-broker binary path.
 *
 * Search order:
 *   1. Explicit env override (BROKER_BINARY_PATH / AGENT_RELAY_BIN)
 *   2. Local Cargo build when the SDK is loaded from an agent-relay source
 *      checkout — keeps dev workflows snappy by preferring a fresh
 *      `target/release` binary over anything staged in bin/
 *   3. Platform-specific optional-dep package
 *      (`@agent-relay/broker-<platform>-<arch>`) — primary production path
 *   4. SDK's bin/ directory (legacy bundled binary — kept for one release
 *      cycle so mixed-version installs still work)
 *   5. Ancestor bin/ directories (legacy, from PR #768 — kept for one
 *      release cycle so stale `agent-relay` tarballs still resolve)
 *   6. Cargo development paths (target/release and target/debug)
 *   7. PATH lookup via `which` / `where`
 *
 * @returns Absolute path to the broker binary, or null if not found
 */
export declare function getBrokerBinaryPath(): string | null;
/**
 * Human-readable error message explaining that the optional-dep broker
 * package for the current platform/arch isn't installed. Used by the SDK
 * at broker-spawn time so users get a clear message instead of an
 * inscrutable `spawn agent-relay-broker ENOENT`.
 */
export declare function formatBrokerNotFoundError(): string;
//# sourceMappingURL=broker-path.d.ts.map