import type { CancelFn } from "#channel/routes.js";
import type { Runtime } from "#channel/types.js";
/**
 * Builds the route-handler `cancel` helper for one channel. Resolves the
 * channel-local continuation token to its owning session without delivering
 * input, then delegates to the runtime's session-id-addressed cancellation.
 */
export declare function createCancelFn(runtime: Runtime, channelName: string): CancelFn;
