histoire
Version:
A fast story book powered by Vite
16 lines • 934 B
TypeScript
/**
* Emits the frame side of plugin channels: one channel per plugin attachment, runtime notices
* (`histoire:attached`, `histoire:detached`, `histoire:error`) and inbound delivery by actor id.
*
* Plugin traffic travels as `HOST_CHANNEL_MESSAGE` with a `plugin` body, so it inherits the
* sandbox source/origin/document guards of both ends, but it never uses channel names nor the
* selected variant: the host addresses one actor.
*
* Rate windows reuse the protocol limiter (inlined, the runtime cannot import protocol) per
* plugin and direction, shared by every actor of this document. Limits are baked from protocol.
*
* Needs from earlier sections: `postToParent` (host messaging), `measureWireValue`,
* `HOST_CHANNEL_MESSAGE` (preamble), and `frameActorSlots` (frame actors, hoisted access only).
*/
export declare function previewFramePluginChannels(): string;
//# sourceMappingURL=frame-plugin-channels.d.ts.map