Import
import { Form } from "@typed/ui/index";Access Form.MaskSlot through the imported Form export. Its declaration below describes the member.
This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.
Signatures
export interface MaskSlot<Name extends string = string, Value = unknown> {
readonly _tag: "MaskSlot";
readonly name: Name;
readonly codec: Schema.Codec<Value, string>;
readonly length?: number;
readonly charset?: RegExp | ((character: string) => boolean);
}Property: _tag
Discriminant used to distinguish slots from literal mask parts.
Property: charset
Per-character acceptance test applied before Schema decoding.
Property: codec
Bidirectional conversion between this slot’s string segment and decoded value.
Property: length
Exact encoded character count, when fixed-width.
Property: name
Property name written into the decoded mask object.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.