type SubscribableChannel = { subscribe: () => () => void; }; /** * Subscribes an iframe RPC channel for the lifetime of the calling component. * Returns the same channel so callers can keep a stable handle for `call`. * * Typed structurally so this hook can live in `replo-utils` without importing * the channel implementation from `schemas` (which would close a workspace * cycle: schemas → replo-utils). */ export declare function useIframeRpcChannel(channel: ChannelType): ChannelType; export declare function useIframeRpcChannel(channel: ChannelType | null): ChannelType | null; export {};