import { Data } from '../classes/Data.js'; import { Decoder } from '../classes/Decoder.js'; import { PatchableArray, PatchableArrayDecoder } from './PatchableArray.js'; import { EncodeContext } from '../classes/EncodeContext.js'; export declare class ArrayDecoder implements Decoder { decoder: Decoder; constructor(decoder: Decoder); decodeField(value: unknown, context: EncodeContext, currentField?: string): T[]; decode(data: Data): T[]; patchType(): this | PatchableArrayDecoder; /** * @deprecated * use patchType().getDefaultValue instead * Patchable values of an array always create a default empty patchable array for convenience */ patchDefaultValue(): PatchableArray | undefined; isPatchDefaultValue(value: unknown): boolean; isDefaultValue(value: unknown): boolean; getDefaultValue(): T[]; } //# sourceMappingURL=ArrayDecoder.d.ts.map