import { type HTMLAttributes } from 'react';
import { shopifyImageLoader } from './image-size.js';
import type { Video as VideoType } from './storefront-api-types.js';
import type { PartialDeep } from 'type-fest';
export interface VideoProps {
/** An object with fields that correspond to the Storefront API's [Video object](https://shopify.dev/api/storefront/latest/objects/video). */
data: PartialDeep;
/** An object of image size options for the video's `previewImage`. Uses `shopifyImageLoader` to generate the `poster` URL. */
previewImageOptions?: Parameters[0];
/** Props that will be passed to the `video` element's `source` children elements. */
sourceProps?: HTMLAttributes & {
'data-testid'?: string;
};
}
/**
* The `Video` component renders a `video` for the Storefront API's [Video object](https://shopify.dev/api/storefront/reference/products/video).
*/
export declare function Video(props: JSX.IntrinsicElements['video'] & VideoProps): JSX.Element;