export declare class ImageDimension {
    /**
     * Calculate aspect ratio of element.
     * @param el
     * @returns number
     */
    static GetAspect(el: Element): number;
    /**
     * Calculates the aspect ratio of an image from a given URL.
     *
     * @param {string} src - The source URL of the image.
     * @returns {Promise<number>} A promise that resolves with the aspect ratio of the image.
     *                             The aspect ratio is calculated as (width / height) and
     *                             rounded to two decimal places. If the image fails to load
     *                             or the dimensions are not available, the promise is rejected.
     */
    static GetAspectByUrl(src: string): Promise<number>;
}
