/** * The readonly projection: `readonly List` and its mutable twin. * * Three functions, one rule — a readonly view is a flag on the container kinds * that have one, and projecting through `optional` and `union` rebuilds the * wrapper rather than dropping it, so `readonly List?` stays optional. */ import { type ValueType } from "./model.ts"; export declare function isReadonlyView(type: ValueType): boolean; export declare function readonlyViewOf(type: ValueType): ValueType; export declare function mutableViewOf(type: ValueType): ValueType; //# sourceMappingURL=readonly.d.ts.map