import { BoundingBox } from './boundary-box';
/**
*
* @param {string} name - The element type e.g text, button
* @param {string} text - The detected text inside the element
* @param {BoundingBox} bndbox - The element bounding box
* @param {string[]} colors - An optional, the element top 3 dominate colors
*
*/
export declare class DetectedElement {
    name: string;
    text: string;
    bndbox: BoundingBox;
    colors?: string[] | undefined;
    similarityScore?: number | undefined;
    constructor(name: string, text: string, bndbox: BoundingBox, colors?: string[] | undefined, similarityScore?: number | undefined);
    static fromJson(detectedElement: DetectedElement, resizeRatio?: number): DetectedElement;
}
