import { RemeshDomainContext, DomainConceptName } from '../index'; export type ListModuleOptions = { name: DomainConceptName<'ListModule'>; key: (item: T) => string; default?: T[]; }; export declare const ListModule: (domain: RemeshDomainContext, options: ListModuleOptions) => { query: { KeyListQuery: import("../remesh").RemeshQuery<[], string[]>; HasItemByKeyQuery: import("../remesh").RemeshQuery<[key: string], boolean>; ItemQuery: import("../remesh").RemeshQuery<[key: string], T>; ItemListQuery: import("../remesh").RemeshQuery<[], T[]>; }; command: { SetListCommand: import("../remesh").RemeshCommand<[newList: T[]]>; AddItemCommand: import("../remesh").RemeshCommand<[newItem: T]>; AddItemListCommand: import("../remesh").RemeshCommand<[newItems: T[]]>; DeleteItemCommand: import("../remesh").RemeshCommand<[targetKey: string]>; DeleteItemListCommand: import("../remesh").RemeshCommand<[targetKeys: string[]]>; DeleteAllCommand: import("../remesh").RemeshCommand<[]>; UpdateItemCommand: import("../remesh").RemeshCommand<[newItem: T]>; UpsertItemCommand: import("../remesh").RemeshCommand<[newItem: T]>; UpdateItemListCommand: import("../remesh").RemeshCommand<[newItems: T[]]>; UpsertItemListCommand: import("../remesh").RemeshCommand<[newItems: T[]]>; InsertAtCommand: import("../remesh").RemeshCommand<[{ index: number; item: T; }]>; InsertBeforeCommand: import("../remesh").RemeshCommand<[{ before: T; item: T; }]>; InsertAfterCommand: import("../remesh").RemeshCommand<[{ after: T; item: T; }]>; ResetCommand: import("../remesh").RemeshCommand<[]>; }; };