/** * Copyright (c) JOB TODAY S.A. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ import { type ReactNode, type ComponentType } from "react"; import { ModalProps } from "react-native"; import { ImageSource, OrientationsT } from "./@types"; type Props = { images: ImageSource[]; keyExtractor?: (imageSrc: ImageSource, index: number) => string; imageIndex: number; visible: boolean; onRequestClose: () => void; onLongPress?: (image: ImageSource) => void; onImageIndexChange?: (imageIndex: number) => void; presentationStyle?: ModalProps["presentationStyle"]; animationType?: ModalProps["animationType"]; backgroundColor?: string; swipeToCloseEnabled?: boolean; doubleTapToZoomEnabled?: boolean; delayLongPress?: number; orientation?: OrientationsT; ImageComponent?: ComponentType<{ children: ReactNode; imageSrc: ImageSource; imageIndex: number; }>; HeaderComponent?: ComponentType<{ imageIndex: number; }>; FooterComponent?: ComponentType<{ imageIndex: number; }>; }; declare const EnhancedImagesViewer: (props: Props) => JSX.Element; export default EnhancedImagesViewer;