import { type LumaStats } from './luma.js'; export type ToneStats = LumaStats; export type SampleRegion = { x: number; y: number; width: number; height: number; }; /** Draw → getImageData once. Returns null (no tone) on tainted canvas, decode * failure or zero natural size — never throws. Every call that reaches the * canvas records one performance measure named 'ag:sample' (REQ-SURF-153; * the L10 media-sampling perf spec reads it at 4× CPU throttle). */ export declare function sampleOwnedPixels(el: HTMLImageElement | HTMLVideoElement, region?: SampleRegion): ToneStats | null; //# sourceMappingURL=sampleOwnedPixels.d.ts.map