import {BoundaryContextValue} from "./boundary.js"; import {ReactAPIBridge} from "./bridge.js"; export type ExtractContextValue = B extends ReactAPIBridge ? B extends ReactAPIBridge ? BoundaryContextValue : never : never; export type HookId = string | symbol; export type PayloadParameter = undefined extends T ? [payload?: T] : [payload: T];