Import
import type { Layout } from "@typed/router";Signatures
export type Layout<Params, A, E, R, B, E2, R2> = (params: LayoutParams<Params, A, E, R>) => Fx.Fx<B, E2, R2>;Why
Layout output, errors, and services compose in the surrounding Matcher type.
Ownership and lifetime
The executor invokes a layout only after its route is selected. Its child Scope owns the parameter/content RefSubjects and every subscription made by the returned Fx.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.