UNPKG

@bradgarropy/rehype-cloudinary-image-size

Version:
9 lines (8 loc) • 284 B
declare type Dimensions = { width: number; height: number; }; declare const getImageDimensions: (imageUrl: string) => Promise<Dimensions>; declare const isCloudinaryImage: (url: string) => boolean; export { getImageDimensions, isCloudinaryImage }; export type { Dimensions };