import { Ref } from 'vue'; import { default as useConfirmation } from '../../../composables/useConfirmation'; import { Agenda, AgendaGroup, AgendaItem } from '../types/agenda.type'; import { SelectCollectionContent } from '../types/common.type'; import { useContentWarning } from '../composables/content-warning.use'; import { CollectionSelectorProps } from '../../collection-selector/types/collection-selector.type'; type StorePayload = { initialAgenda?: Agenda; t: (key: string, values?: Record) => string; confirmation: ReturnType; selectCollectionContent: SelectCollectionContent; attachTo?: HTMLElement | string; zIndex?: number; openSettings?: CollectionSelectorProps['openSettings']; }; type StoreData = { agenda: Ref; expandedGroups: Ref; addGroup: (group?: Partial) => AgendaGroup | undefined; deleteGroup: (groupId: string, groupName: string) => void; updateGroup: (group: Partial> & Pick) => void; updateGroups: (groups: AgendaGroup[]) => void; updateItems: (groupId: string, items: AgendaItem[]) => void; updateAgendaName: (name: string) => void; updateGroupName: (groupId: string, name: string) => void; deleteItem: (groupId: string, item: AgendaItem) => void; editItem: (groupId: string, item: AgendaItem, filters?: Record) => Promise; addItem: (groupId: string, filters?: Record) => Promise; moveItemToGroup: (fromGroup: string, toGroup: string, item: AgendaItem) => void; selectCollectionContent: SelectCollectionContent; childModalZIndex?: number; contentWarning: ReturnType; }; export declare function provideAppStore({ initialAgenda, t, confirmation, selectCollectionContent, attachTo, zIndex, openSettings, }: StorePayload): StoreData; export declare function useAppStore(): StoreData; export {};