import type { Frame } from "react-native-vision-camera"; export declare function installFrameProcessor(): Promise; /** * Type of return value of {@link getImageRgbAverages}. */ export interface ImageRgbAverages { /** Timestamp of when the frame processor started to work on the frame. */ timestamp: number; /** Time im ms it took the frame processor to process the frame. */ duration: number; /** Average amount of red in the frame. */ redAverage: number; /** Average amount of green in the frame. */ greenAverage: number; /** Average amount of blue in the frame. */ blueAverage: number; /** Sub-sampling factor applied on frame width. */ widthSubSampling: number; /** Sub-sampling factor applied on frame height. */ heightSubSampling: number; /** Width of processed frame. */ imageWidth: number; /** Height of processed frame. */ imageHeight: number; } export declare function getRgbAveragesFrameProcessor(): ((frame: Frame, opt?: { subSamplingX?: number; subSamplingY?: number; }) => ImageRgbAverages) | undefined; //# sourceMappingURL=index.d.ts.map