package items type Encoder interface { Encode(item *Item) (any, error) } type Decoder interface { Decode(value any, item *Item) error }