import { ReactNode } from 'react'; import { Style } from 'inlines'; type ImagePreviewsContextProviderProps = { children: ReactNode; }; export declare function MediaPreviewsContextProvider({ children, }: ImagePreviewsContextProviderProps): import("react/jsx-runtime").JSX.Element; export declare function useMediaPreviews(): { previews: { [key: string]: string; }; addPreview: (id: string, objectURL: string) => void; }; export type MediaProps = { src?: string; type?: 'image' | 'video' | 'file' | 'audio' | 'color' | 'code'; size?: 'regular' | 'small'; thumbnail?: string; loading?: boolean; optimizedImageWidth?: number; style?: Style; }; export declare const Media: ({ src: source, type, thumbnail, loading, size, optimizedImageWidth, style, }: MediaProps) => import("react/jsx-runtime").JSX.Element; export {};