import { ITelemetryService } from "../../../../platform/telemetry/common/telemetry.service.js"; /** * Data emitted by a picker in the new chat view pane when the user selects * an option. Mirrors the shape of the `actionWidgetDropdownClosed` event * so the two can be analyzed with similar queries. * * The `selectionChanged` field is derived from comparing * {@link optionIdBefore} and {@link optionIdAfter}. */ export interface INewChatPickerClosedData { /** Identifier of the picker emitting the event (e.g. `NewChatWorkspacePicker`). */ readonly id: string; /** Optional descriptive name of the picker. */ readonly name?: string; /** Identifier of the option configured before the picker was opened. */ readonly optionIdBefore: string | undefined; /** Identifier of the option selected when the picker was closed. */ readonly optionIdAfter: string | undefined; /** Label of the option configured before the picker was opened. */ readonly optionLabelBefore: string | undefined; /** Label of the option selected when the picker was closed. */ readonly optionLabelAfter: string | undefined; /** * When `true`, the option id and label values are considered PII and * are omitted from the emitted telemetry event — only {@link id}, * {@link name} and the derived `selectionChanged` flag are reported. */ readonly isPII: boolean; } export declare function reportNewChatPickerClosed(telemetryService: ITelemetryService, data: INewChatPickerClosedData): void;