/** * Canonical penpal channel names used by `@trackunit/iris-app-runtime-core`. * * External iris-app publishers building against `@trackunit/iris-app-runtime-core` * must pass one of these strings to `useSubscribeToHostChanges(methods, channel)` * so the child connection lines up with the host's `usePenpalIframe({ channel })`. * * The module-level singleton connector uses {@link Channels.HostRuntime}; the * remaining channels are dedicated to the five subscription providers * (token, time-range, filter bar, widget config, asset sorting). * * Channel strings outside this set are reserved for future use and should not * be passed to penpal `connect({ channel })` today. */ export declare const Channels: { readonly HostRuntime: "host-runtime"; readonly TokenSubscription: "token-subscription"; readonly TimeRangeSubscription: "time-range-subscription"; readonly FilterBarSubscription: "filter-bar-subscription"; readonly WidgetConfigSubscription: "widget-config-subscription"; readonly AssetSortingSubscription: "asset-sorting-subscription"; }; /** * String-literal union of the canonical penpal channel names exported by * {@link Channels}. * * External iris-app publishers must pass a value of this type to * `useSubscribeToHostChanges(methods, channel)`; the module-level singleton * uses `Channels.HostRuntime`. Custom channel strings outside this set are * reserved for future use. */ export type Channel = (typeof Channels)[keyof typeof Channels];