import type { ContainerWidth } from '../@types/global'; interface Props { /** * Photo source */ src: string; /** * Photo altText */ altText: string; /** * Add an id to target with custom CSS. */ id?: string; /** * Add classes to target with custom CSS. */ class?: string; /** * Photo caption */ caption?: string; /** * Height of the photo placeholder when lazy-loading */ height?: number; /** * Width of the container: normal, wide, wider, widest or fluid */ width?: ContainerWidth; /** * Set a different width for the text vs the photo. For example, "normal" to keep the title, description and notes inline with the rest of the text well. Can't ever be wider than `width`. */ textWidth?: ContainerWidth; /** * Whether to lazy load the photo using the [Intersection Observer API](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) */ lazy?: boolean; /** * Set Intersection Observer [rootMargin](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#rootmargin) `top` when lazy loading. */ top?: number; /** * Set Intersection Observer [rootMargin](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#rootmargin) `bottom` when lazy loading. */ bottom?: number; /** * Set Intersection Observer [rootMargin](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#rootmargin) `left` when lazy loading. */ left?: number; /** * Set Intersection Observer [rootMargin](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#rootmargin) `right` when lazy loading. */ right?: number; } /** * A full-width feature image with an optional caption and lazy-loading; flags a warning when alt text is missing. * * [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-multimedia-featurephoto--docs) */ declare const FeaturePhoto: import("svelte").Component; type FeaturePhoto = ReturnType; export default FeaturePhoto;