import { MediaRatios } from 'components/MediaBlock'; /** * Get the media aspect ratio based on the provided width and height. * * @remarks * * This function calculates the aspect ratio of a media element based on its width and height. * If the provided dimensions do not match any of the predefined aspect ratios, it returns the closest one. * If no dimensions are provided or if they are invalid, it defaults to 16:9. * * The predefined aspect ratios are: * - 16:9 * - 1:1 * - 4:3 * - 3:4 * - 3:2 * - 2:3 * - 1:2 * - 2:1 * * @param width - The width of the media element. * @param height - The height of the media element. * @returns The aspect ratio as a number from a predefined set of ratios. */ export declare const getAspectRatio: (width?: number | string, height?: number | string) => MediaRatios;