import type { CollectAction, CollectOption, CollectUpdateByDelta } from "../events/events.js"; import { ReactiveController, ReactiveControllerHost } from "lit"; type CollectHost = ReactiveControllerHost & { storeName: symbol | string; noCollect: boolean; _options: Map>; _actions: Map>; _partialOptions: Map>; _partialBundleOptions: Map>; _deltaUpdates: Map>; dispatchEvent(evt: Event): boolean; } & EventTarget; export declare class CollectController implements ReactiveController { private host; private _computeAbort; private _computeRun; private _notifyParent; private _contextualChildren; private _prevCollect?; private _toggleTask; constructor(host: CollectHost, computeAbort: () => void, computeRun: () => void, notifyParent: () => void); hostConnected(): void; hostDisconnected(): void; get toggleComplete(): Promise; collectOption(detail: CollectOption): void; announceRemoval(): void; waitForChildrenUpdateComplete(): Promise; getContextualChildren(): HTMLElement[]; private _collectOptionEvent; private _collectActionEvent; private _collectUpdateByDeltaEvent; private _onCollectChild; private _onCollectChildRemoved; private _announceAsContextualChild; private _announceContextualChildRemoved; hostUpdate(): void; hostUpdated(): void; } export {};