import * as React from '@theia/core/shared/react'; import { Emitter, Event } from '@theia/core'; import { ReactWidget } from '@theia/core/lib/browser'; /** * The search box above the category tree. It emits {@link onDidChangeFilter} so the tree can * live-filter its nodes; filtering the tree is the only search affordance. */ export declare class AiConfigurationSearchWidget extends ReactWidget { static readonly ID = "ai-configuration-search"; protected readonly onDidChangeFilterEmitter: Emitter; readonly onDidChangeFilter: Event; protected readonly onDidRequestExpandAllEmitter: Emitter; /** Fired by the "Expand All" toolbar button below the search input. */ readonly onDidRequestExpandAll: Event; protected readonly onDidRequestCollapseAllEmitter: Emitter; /** Fired by the "Collapse All" toolbar button below the search input. */ readonly onDidRequestCollapseAll: Event; /** Whether the tree has any expandable category, and whether all of them are currently expanded. */ protected hasExpandable: boolean; protected allExpanded: boolean; protected init(): void; /** Updates the expand/collapse-all toggle to reflect the tree's current expansion. */ setTreeExpansion(hasExpandable: boolean, allExpanded: boolean): void; protected onExpandAll: () => void; protected onCollapseAll: () => void; protected onQueryChange: (query: string) => void; protected render(): React.ReactNode; } //# sourceMappingURL=ai-configuration-search-widget.d.ts.map