import type { CameraDeviceFormat } from 'react-native-vision-camera';
/**
 * Sort formats by resolution, with higher resolution being better.
 * @param {CameraDeviceFormat} left - CameraDeviceFormat - the first format to compare
 * @param {CameraDeviceFormat} right - CameraDeviceFormat - the right side of the comparison
 * @returns The difference between the two points.
 */
export declare const sortFormatsByResolution: (left: CameraDeviceFormat, right: CameraDeviceFormat) => number;
//# sourceMappingURL=generalUtil.d.ts.map