import { ViewStyle } from "react-native"; import { ImageScale } from "./useImageScale"; import { RNMLKitPoint } from "../types"; /** * Calculates the style object for a bounding box based on the provided parameters. * * @param {BoundingBox} box - The bounding box object containing size, origin, color, and width information. * @param {ImageScale} [scale] - The scale object specifying the scaling factors and offsets. * @returns {ViewStyle | undefined} - The calculated style object or undefined if the box is invalid. */ export declare const useBoundingBoxStyle: (box: BoundingBox, { x: scaleX, y: scaleY, offsetX, offsetY }?: ImageScale) => ViewStyle | undefined; /** * Represents a bounding box with origin, size, color, label, and width properties. */ export interface BoundingBox { origin: RNMLKitPoint; size: RNMLKitPoint; color?: string; label?: string; width?: number; }