import { DiffLineAnnotation, LineAnnotation } from "../types.js"; //#region src/utils/annotationHelpers.d.ts /** Narrow an annotation to the side-tagged diff shape. */ declare function isDiffAnnotation(annotation: LineAnnotation | DiffLineAnnotation): annotation is DiffLineAnnotation; /** Narrow an annotation to the side-less file shape. */ declare function isFileAnnotation(annotation: LineAnnotation | DiffLineAnnotation): annotation is LineAnnotation; /** * Narrow a homogeneous editor annotation collection to diff annotations. * Empty collections return true because they are valid for either shape. */ declare function isDiffAnnotationCollection(annotations: LineAnnotation[] | DiffLineAnnotation[]): annotations is DiffLineAnnotation[]; /** * Narrow a homogeneous editor annotation collection to file annotations. * Empty collections return true because they are valid for either shape. */ declare function isFileAnnotationCollection(annotations: LineAnnotation[] | DiffLineAnnotation[]): annotations is LineAnnotation[]; //#endregion export { isDiffAnnotation, isDiffAnnotationCollection, isFileAnnotation, isFileAnnotationCollection }; //# sourceMappingURL=annotationHelpers.d.ts.map