Mixins / foldkit-mixins-surface

describe

function · packages/mixins-surface/src/surfaceView.ts:94

function describe<Root, Model, Message, Params, Slots_>(
  surface: Surface<Root, Model, Message, Params>,
  params: Params,
  view: SlotView.SlotView<Slots_, Model, Message>,
): SurfaceViewDescription

One serializable description of a Surface and the SlotView that renders it: what it observes and may emit, and where Style/Behavior attach. No functions, so it can be committed, diffed, or handed to DevTools and agent tooling.