UNPKG

1.6 kBTypeScriptView Raw
1import { QuickPickSeparator, QuickPickService } from '../../common/quick-pick-service';
2import { QuickInputService, QuickPickItem, QuickInputButtonHandle, QuickPick, QuickPickOptions } from './quick-input-service';
3export declare class QuickPickServiceImpl implements QuickPickService {
4 protected readonly quickInputService: QuickInputService;
5 private readonly onDidHideEmitter;
6 readonly onDidHide: import("../../common/event").Event<void>;
7 private readonly onDidChangeValueEmitter;
8 readonly onDidChangeValue: import("../../common/event").Event<{
9 quickPick: QuickPick<QuickPickItem>;
10 filter: string;
11 }>;
12 private readonly onDidAcceptEmitter;
13 readonly onDidAccept: import("../../common/event").Event<void>;
14 private readonly onDidChangeActiveEmitter;
15 readonly onDidChangeActive: import("../../common/event").Event<{
16 quickPick: QuickPick<QuickPickItem>;
17 activeItems: Array<QuickPickItem>;
18 }>;
19 private readonly onDidChangeSelectionEmitter;
20 readonly onDidChangeSelection: import("../../common/event").Event<{
21 quickPick: QuickPick<QuickPickItem>;
22 selectedItems: Array<QuickPickItem>;
23 }>;
24 private readonly onDidTriggerButtonEmitter;
25 readonly onDidTriggerButton: import("../../common/event").Event<QuickInputButtonHandle>;
26 private items;
27 show<T extends QuickPickItem>(items: Array<T | QuickPickSeparator>, options?: QuickPickOptions<T>): Promise<T | undefined>;
28 hide(): void;
29 setItems<T>(items: Array<QuickPickItem>): void;
30}
31//# sourceMappingURL=quick-pick-service-impl.d.ts.map
\No newline at end of file