import type { Slice } from '../slice/Slice'; /** * On overlay "ref" is a reference from the {@link Overlay} to a {@link Slice}. * In case of a *marker* slice, the reference is to the slice itself. In case of * a regular annotation slice, two references are needed: one to the start slice * and one to the end slice. */ export type OverlayRef = Slice | OverlayRefSliceStart | OverlayRefSliceEnd; export declare class OverlayRefSliceStart { readonly slice: Slice; constructor(slice: Slice); } export declare class OverlayRefSliceEnd { readonly slice: Slice; constructor(slice: Slice); }