import type { DetectedInk } from "./index"; /** * Coverage (in %) at or below which a **process** plate is treated as an * unused / phantom plate (e.g. CMYK on a spot-only file) and hidden from the * Inks panel. */ export declare const INK_COVERAGE_EPSILON = 0.05; /** * Whether an ink plate should appear in the Inks panel. * * A declared **spot** colorant is *always* visible — the PDF carries a * `/Separation` for it, so its presence is a fact about the document that a * coverage **estimate** must never veto. The in-browser (fallback) coverage is * a crude RGB heuristic that routinely under-reads a spot to ~0% (pdf.js * composited it into the raster and the cosine hue test misses it), which used * to make a real Pantone / dieline appear and then vanish once coverage landed. * * A **process** plate carries no such declaration, so it's hidden only when its * coverage was *positively measured* at ~0%. Unknown / not-yet-measured * coverage keeps the plate so nothing disappears spuriously while loading. */ export declare function isInkVisible(ink: Pick, coverageOf: (name: string) => number | undefined, epsilon?: number): boolean; //# sourceMappingURL=ink-visibility.d.ts.map