import { ListItem, DcuplGlobalQueryOptions, ChangeDetector, RawItem } from '@dcupl/common'; import { DcuplList } from '../list/index.js'; import { DcuplApi } from './dcupl-api.js'; export declare class ListsController { private dcuplInstance; protected cdRef: ChangeDetector; private lists; constructor(dcuplInstance: DcuplApi, cdRef: ChangeDetector); get(listKey: string): DcuplList | undefined; getAll(options?: { modelKey: string; }): DcuplList[]; destroy(options?: { listKey?: string; modelKey?: string; }): void; /** * Creates a list over a model's items. The type argument types the items the list's queries * return: `lists.create(...)` returns a `DcuplList`. */ create(options: { modelKey: string; listKey?: string; listItemKeys?: string[]; query?: DcuplGlobalQueryOptions; }): DcuplList; }