import type { ImageMetadataFormat } from 'roosterjs-content-model-types'; /** * @internal * Double check if the changed size can satisfy current width of container. * When resize an image and preserve ratio, its size can be limited by the size of container. * So we need to check the actual size and calculate the size again * @param editInfo Edit info of the image * @param preserveRatio Whether w/h ratio need to be preserved * @param actualWidth Actual width of the image after resize * @param actualHeight Actual height of the image after resize */ export declare function doubleCheckResize(editInfo: ImageMetadataFormat, preserveRatio: boolean, actualWidth: number, actualHeight: number): void;