import { IActionViewItemOptions } from "../../base/browser/ui/actionbar/actionViewItems.js"; import { Button } from "../../base/browser/ui/button/button.js"; import { IAction } from "../../base/common/actions.js"; import { IObservable } from "../../base/common/observable.js"; import { IInstantiationService } from "../../platform/instantiation/common/instantiation.js"; import { IChangesStats } from "./changesStatsWidget.js"; import { ChatPillActionViewItemBase } from "./chatPills.js"; /** The file and line counts a changes pill reports. */ export type IChatChangesStats = IChangesStats; export declare const EMPTY_CHAT_CHANGES_STATS: IChatChangesStats; export declare function chatChangesStatsEqual(a: IChatChangesStats, b: IChatChangesStats): boolean; /** * The changes pill: ` Files +insertions -deletions`. The counters * animate between values, so the label structure is built once and updated in * place rather than being torn down on every stats change. */ export declare class ChatChangesPillActionViewItem extends ChatPillActionViewItemBase { private readonly _statsObs; private readonly _instantiationService; protected get itemModifierClass(): string; protected get buttonModifierClass(): string; constructor(action: IAction, options: IActionViewItemOptions, _statsObs: IObservable, _instantiationService: IInstantiationService); protected renderContent(button: Button): void; protected getAriaLabel(): string; }