import { URI } from "../../../../base/common/uri.js"; import { ILabelService } from "../../../../platform/label/common/label.service.js"; import { ISessionFileChange } from "../../../services/sessions/common/session.js"; export interface IChangesEditorLabels { readonly label: string; readonly description: string; } interface IChangesEditorFileStats { readonly insertions: number; readonly deletions: number; } /** * Returns the resource that identifies a change in the Changes editor. This is * the file's own URI (not a content snapshot URI), and is defined for deleted * files, whose `modifiedUri` is `undefined`. */ export declare function getChangesEditorFileResource(change: ISessionFileChange): URI; /** * Finds the change that `resource` refers to, matching the change's file URI * as well as its original and modified (snapshot) URIs. */ export declare function findChangesEditorFileChange(resource: URI, changes: readonly ISessionFileChange[]): ISessionFileChange | undefined; export declare function getChangesEditorFileStats(resource: URI, changes: readonly ISessionFileChange[]): IChangesEditorFileStats | undefined; export declare function getChangesEditorLabels(uri: URI, labelService: Pick): IChangesEditorLabels; export {};