import type { _NSView } from "../AppKit/NSView.js";
import type { _PDFPage } from "./PDFPage.js";
import type { _PDFView } from "./PDFView.js";
export interface _PDFPageOverlayViewProvider {
    /** Asks the provider for a view to be displayed on top of the specified page. */
    pdfView$overlayViewForPage$?(view: _PDFView, page: _PDFPage): _NSView | null;
    /**
     * Tells the provider that a view returned from `overlayViewForPage` has been added to the view hierarchy and constraints have been set up. At this point, gesture failure handlers may be set up with those of `pdfView`.
     */
    pdfView$willDisplayOverlayView$forPage$?(pdfView: _PDFView, overlayView: _NSView, page: _PDFPage): void;
    /**
     * Tells the provider that a view returned from `overlayViewForPage` will be removed. This can be used to restore whatever was done in `overlayView:wasAddedForPage`.
     */
    pdfView$willEndDisplayingOverlayView$forPage$?(pdfView: _PDFView, overlayView: _NSView, page: _PDFPage): void;
}
