import type { ChannelAdapter } from "#channel/adapter.js";
import type { Runtime } from "#channel/types.js";
import type { SendFn } from "#channel/routes.js";
export declare function createSendFn<TState = undefined>(runtime: Runtime, adapter: ChannelAdapter<any>, channelName: string, metadata?: {
    readonly requestId?: string;
}): SendFn<TState>;
