import { NamedNode } from 'rdflib'; /** Point the presenter at the current address book and its shared elements. * The group bar renders itself now, so this only wires up the module state the * people list and its helpers still read. */ export declare function configureAddressBook({ book: currentBook, dom: domElement, selectedGroups: groupsSelected, ulPeople: peopleUl, cardMain: cardMainEl, dataBrowserContext: context }: { book: NamedNode | null; dom?: Document; selectedGroups?: Record; ulPeople?: any; cardMain?: any; dataBrowserContext?: any; }): void; /** How many contacts a group holds, or null while its document is unread. * An empty group still describes itself (type, fn), so "no statements at all" * is a reliable stand-in for "not fetched yet" -- and lets us show nothing * rather than a misleading 0. */ export declare function groupMemberCount(group: NamedNode): number | null; export declare function handleURIsDroppedOnGroup(uris: string[], group: NamedNode): Promise; export declare function groupsInOrder(book: any, options: any): any[]; export declare function loadAllGroups(book: NamedNode | null): Promise; export declare function findBookFromGroups(book: NamedNode | null): NamedNode; /** Refresh the list of names. * * The list is the component now, which reads the * store itself; this remains the entry point the rest of the pane calls, and * falls back to the module variable for callers that don't hold the element. * `detailsView` is unused but kept so existing call sites stay valid. */ export declare function refreshNames(ulPeopleArg: any, detailsView?: any, autoSelect?: boolean): void; export declare function selectPerson(ulPeopleArg: any, person: NamedNode, details: any): void; /** Show the contact in a tab of its own -- the people list's menu asks for * this. Prefers the address book's own copy of the card, like the link icon * that used to sit above the contact did. */ export declare function openContactInNewWindow(person: NamedNode): void; /** Confirm and delete a contact: its WebID references in every group, its * group memberships, and finally its card and folder. Raised by the people * list's per-row menu. */ export declare function deleteContact(person: NamedNode): Promise; export declare function deselectAllPeople(ulPeopleArg: any): void; export declare function checkDataModel(book: NamedNode | null, details: any): Promise; export declare function ensureBookLoaded(): Promise; //# sourceMappingURL=addressBookPresenter.d.ts.map