import { C as Snapshot, D as RenderToken, E as SnapshotSettings, M as TilesSettings, N as samePageViewDemand, O as FullPageSettings, S as SNAPSHOT_TOOL, T as SnapshotChangedEvent, _ as RenderPageOptions, a as PageRender, b as RenderThumbnailOptions, c as PicturePainter, d as PictureStateChangedEvent, f as RENDER_DEFAULTS, g as RenderInvalidatedEvent, h as RenderFormat, i as PageLayerOptions, k as PageViewDemand, l as PictureReport, m as RenderConfig, n as InvalidateScope, o as PaintedPicture, p as RenderCapability, r as PageImage, s as PicturePage, t as InvalidateOptions, u as PictureState, v as RenderPagesOptions, w as SnapshotBoxLook, x as SNAPSHOT_MAX_PIXELS, y as RenderSettings } from "./contract-hCcLRGkU.cjs"; import { l as RenderHostCapability } from "./host-contract-1kMniEqe.cjs"; import { PageObjectNumber, PageRef } from "@embedpdf/core"; import { Point, Rotation } from "@embedpdf/core-geometry"; //#region src/model.d.ts /** * Per-page versions of what a page picture can draw: the page content, its * annotations and its form fields. Fed by the document event stream and by * the `invalidate` verb: a confirmed pixel-changing fact, own or remote, * bumps the touched pages, and anything holding a rendered bitmap refetches. * A picture's version is the sum of the parts it draws, and is part of every * raster and tile key. */ interface RenderState { /** Content versions, bumped by content facts (redaction, flatten). */ readonly contentEpochs: Readonly>; /** Annotation versions, bumped by annotation facts (widgets excepted). */ readonly annotationEpochs: Readonly>; /** Form field versions, bumped by form facts: a fill, a widget's move or look, a signing. */ readonly fieldEpochs: Readonly>; /** The snapshot tool's box, while it is dragged or held. */ readonly snapshot: SnapshotBox | null; } /** * The snapshot tool's box: two corners on the page the press was on, in page * space. Dragged until the release; held from then on, as the snapshot. */ interface SnapshotBox { readonly page: PageRef; /** Where the press was. */ readonly from: Point; /** Where the pointer is, kept on the page. */ readonly to: Point; /** View px per page unit at the press, which tells a box from a click. */ readonly scale: number; /** The page's turn on screen at the press: the picture turns with it. */ readonly rotation: Rotation; /** Released: the box is the snapshot. */ readonly held: boolean; } //#endregion //#region src/render.plugin.d.ts /** * Document-scoped page rasters. The only render-policy consumer in the * client stack: the kernel materializes the engine's advertised render * policy on the document, the controller conforms desired scales to it and * collapses same-key asks in its raster store, and the tile manager turns * host-supplied demand into a retention-safe paint plan over the same store. * State is the per-page raster-version ledger and the snapshot tool's box. * The interaction plugin is optional: with it, the plugin adds the * `snapshot` tool. */ declare const renderPlugin: (config?: RenderConfig) => import("@embedpdf/core").PluginDefinition; //#endregion export { type FullPageSettings, InvalidateOptions, InvalidateScope, PageImage, PageLayerOptions, PageRender, type PageViewDemand, type PageViewDemand as ViewDemandInput, PaintedPicture, PicturePage, PicturePainter, PictureReport, PictureState, PictureStateChangedEvent, RENDER_DEFAULTS, RenderCapability, RenderConfig, RenderFormat, RenderInvalidatedEvent, RenderPageOptions, RenderPagesOptions, RenderSettings, RenderThumbnailOptions, RenderToken, SNAPSHOT_MAX_PIXELS, SNAPSHOT_TOOL, Snapshot, SnapshotBoxLook, SnapshotChangedEvent, SnapshotSettings, type TilesSettings, renderPlugin, samePageViewDemand }; //# sourceMappingURL=index.d.cts.map