import type { NobjcObject } from "objc-js";
import type { _NSCopying } from "../Foundation/NSCopying.js";
import type { _NSObject } from "../Foundation/NSObject.js";
import type { _NSSecureCoding } from "../Foundation/NSSecureCoding.js";
import type { _NSString } from "../Foundation/NSString.js";
import type { _VNRectangleObservation } from "./VNRectangleObservation.js";
import type { _VNRequestRevisionProviding } from "./VNRequestRevisionProviding.js";
import type { NSRange } from "../structs/NSRange.js";
export declare class _VNRecognizedText extends _NSObject {
    static alloc(): _VNRecognizedText;
    static new(): _VNRecognizedText;
    init(): _VNRecognizedText;
    /**
     * @brief Calculate the bounding box around the characters in the range of the string. @discussion The bounding boxes are not guaranteed to be an exact fit around the characters and are purely meant for UI purposes and not for image processing.
     */
    boundingBoxForRange$error$(range: NSRange, error: NobjcObject | null): _VNRectangleObservation | null;
    /**
     * @brief Field that contains recognized text. @discussion This is the top candidate of the recognized text.
     */
    string(): _NSString;
    /**
     * @brief The level of confidence normalized to [0.0, 1.0] where 1.0 is most confident
     */
    confidence(): number;
}
export interface _VNRecognizedText extends _NSCopying, _NSSecureCoding, _VNRequestRevisionProviding {
}
