import type { CSSProperties } from 'react'; import React from 'react'; import type { ResolvedImageProps } from './props'; /** * This implementation is based on code from [Next.js](https://github.com/vercel/next.js/blob/ed10f7ed0246fcc763194197eb9beebcbd063162/packages/next/src/shared/lib/get-img-props.ts#L649-L691) * which is licensed under the MIT License. * * @param props * @returns */ export declare function resolvePlaceholderStyle(props: ResolvedImageProps): CSSProperties; export declare function resolveImageStyle(props: ResolvedImageProps): CSSProperties; export interface ConditionalSrc { url: string; condition?: string; } export declare function resolveSrcSet(options: ResolvedImageProps): ConditionalSrc[] | null; export declare function resolveSizes(options: ResolvedImageProps): string | undefined; export declare function resolveImageAttrs(props: ResolvedImageProps): React.ImgHTMLAttributes;