declare const receiveTargetMarker: unique symbol; /** * Structural marker that channel factories (e.g. `slackChannel`, * `twilioChannel`) add to declare the target type their `receive()` accepts. * `ctx.to(channel, target)` helpers read this marker to infer typed targets * from a plain channel import. */ export interface TypedReceiveTarget> { readonly [receiveTargetMarker]?: TTarget; } /** * Extracts the receive-target type from a channel value, falling back to * `Record` when the channel declares no marker. */ export type InferReceiveTarget = TChannel extends TypedReceiveTarget ? TTarget : Record; export {};