import { StitchStorage } from '../StitchStorage.js'; export declare abstract class Gms2ComponentArrayBase InstanceType & { toJSON: () => YypData; }) | (new (object: YypData, storage: StitchStorage) => InstanceType & { toJSON: () => YypData; })> { protected items: InstanceType[]; /** Get shallow-copy array of all item instances */ list(): InstanceType[]; filter(matchFunction: (item: InstanceType) => any): InstanceType[]; filterByField(field: keyof InstanceType, value: any): InstanceType[]; find(matchFunction: (item: InstanceType) => any): InstanceType | undefined; findByField(field: keyof InstanceType, value: any): InstanceType | undefined; removeByField(field: keyof InstanceType, value: any): this; push(...items: InstanceType[]): this; prepend(...items: InstanceType[]): this; abstract addNew(data: YypData): ComponentClass; /** * Create a new component instance if one doesn't already exist * matching the given uniqueField:uniqueValue pair. */ addIfNew(data: YypData, uniqueField: keyof InstanceType, uniqueFieldValue: any): false | ComponentClass; toJSON(): YypData[]; uniqueYypDataEntries(data: YypData[]): YypData[]; } //# sourceMappingURL=Gms2ComponentArrayBase.d.ts.map