import type { ArrayPath } from '../../../schema/actions/utils/types.js'; import type { Paths, Schema } from '../../../schema/index.js'; export interface FormatValueOptions { format?: boolean; transform?: boolean; attributes?: Paths[]; partial?: boolean; } export interface FormatAttrValueOptions extends FormatValueOptions { valuePath?: ArrayPath; } export interface InferReadValueOptions> { attributes: OPTIONS extends { attributes: string[]; } ? OPTIONS['attributes'][number] : undefined; partial: OPTIONS extends { partial: boolean; } ? OPTIONS['partial'] : undefined; }