/** * BoundMethod → MountableContract translator. * * The narrow view carries only what the server's mount planner reads — * `ref` plus optional `binding` — because the SDK's SdkDispatcher * handles dispatch via KernelAPI.call, not via runtime contract hooks. */ import type { AuthPolicy, FunctionBinding, MountableContract, RouteBinding } from '@astrale-os/kernel-api/routed'; import type { BoundMethod } from '@astrale-os/kernel-core/domain'; import type { AnyRemoteHandler } from '../method/single.js'; export declare function toSdkContract(method: BoundMethod): MountableContract; export declare function extractBinding(handler: { route?: RouteBinding; remoteUrl?: string; auth?: AuthPolicy; }): FunctionBinding | undefined; //# sourceMappingURL=contract.d.ts.map