import { HasTag, PrettyType, SomeSpec, Spec, SpecKind, SpecSuccess, SpecTag, SpectypesError } from './types.js'; declare type DeepWritable = PrettyType<{ -readonly [P in keyof T]: DeepWritable; }>; /** Creates an empty validator that removes `readonly` modifiers from the result of validation */ export declare const writable: (spec: HasTag extends true ? SpectypesError<'filter', 'writable'> : ItemSpec) => Spec, SpecKind, DeepWritable>>; export {};