import { NamedNode } from 'rdflib'; import { WebComponent } from 'solid-ui'; type Group = NamedNode; type SelectedGroups = Record; /** * The row of group buttons: "All Contacts", every group in the book, and * "New Group". * * `selectedGroups` is shared with the pane -- the people list reads it to work * out which contacts to show -- so it is mutated in place rather than replaced. * `revision` is what turns those in-place mutations back into a render. */ export default class GroupBar extends WebComponent { static styles: import('lit').CSSResult; /** The address book's title, shown as the column's heading. */ accessor heading: string | null; accessor book: Group | null; accessor options: Record; accessor selectedGroups: SelectedGroups; private accessor rows; private accessor busy; private accessor error; private accessor revision; /** Narrows the list of group buttons; selections elsewhere are unaffected. */ private accessor filter; connectedCallback(): void; /** Re-read the groups from the store. Call after adding or deleting one. */ refresh(): void; /** Load every group's document and show all of their contacts. */ selectAll(): Promise; /** How many groups the book has, which the header uses to tell "one group * is selected" apart from "the only group is selected". */ get groupCount(): number; private get allSelected(); /** How many distinct contacts the loaded groups hold between them, or null * before any group document is in -- the same "show nothing rather than a * misleading 0" rule the per-group counts follow. */ private get allCount(); private load; private announceSelection; /** Hand a freshly rendered row to solid-ui's drag and drop widgets. */ private wireDragAndDrop; private get visibleRows(); private onFilterInput; protected render(): import('lit-html').TemplateResult<1>; private renderGroup; private onAllGroups; private onGroup; private onNewGroup; } export {}; //# sourceMappingURL=GroupBar.d.ts.map