import type { ExtendedValue, Extension, Paths, Schema } from '../../schema/index.js'; export type WriteMode = 'key' | 'put' | 'update'; export interface WriteValueOptions { mode?: WriteMode; extension?: Extension; defined?: boolean; } export type SchemaExtendedWriteValue = OPTIONS extends { extension: Extension; } ? ExtendedValue : never; export type ReadValueOptions = { attributes?: Paths; partial?: boolean; };