import type {TextLineResultItem} from "./TextLineResultItem";
import  {type CapturedResultReceiver, IntermediateResultManager} from "../cvr";
import type {CapturedResultBase} from "../core";

/**{@link IntermediateResultManager}*/
/**
 * The RecognizedTextLinesResult interface represents the result of a text recognition process.
 * It provides access to information about the recognized text lines,
 * the original image, and any errors that occurred during the recognition process.
 *
 * @see {@link CapturedResultReceiver.onRecognizedTextLinesReceived}
 * */
export interface RecognizedTextLinesResult extends CapturedResultBase{
    /**
     * All the recognized text line result items.
     * @see {@link TextLineResultItem}
     * */
    items?: Array<TextLineResultItem>;
}
