type RenderOutside = {
box: Rectangle,
origin: Rectangle,
z: number,
clip?: ShaderModule,
mask?: ShaderModule,
transform?: ShaderModule,
ref?: (
rectangle: Rectangle,
origin: Rectangle,
) => LiveElement,
}
packages / layout / src / types.ts