import { type ImageProps, type ImageSource } from "expo-image"; import { type ReactNode } from "react"; import { type StyleProp, type ViewStyle } from "react-native"; type PassThroughImageProps = Omit; /** Props for {@link ImageComparisonSlider}. */ export interface ImageComparisonSliderProps { /** Revealed image */ before: ImageSource | number; /** Background image */ after: ImageSource | number; /** Split ratio, 0–1 */ initialPosition?: number; /** Comparison UI and gestures */ enabled?: boolean; /** Both images */ contentFit?: ImageProps["contentFit"]; /** Image stack corners */ borderRadius?: number; /** Root container */ style?: StyleProp; /** Knob children */ knobContent?: ReactNode; /** Divider line */ renderLine?: ReactNode; /** before (expo-image, minus source / style / contentFit) */ beforeImageProps?: PassThroughImageProps; /** after */ afterImageProps?: PassThroughImageProps; /** Label on the before image */ beforeLabel?: string; /** Label on the after image */ afterLabel?: string; } /** * Before/after image comparison slider for React Native and Expo. * * @see {@link ImageComparisonSliderProps} */ export declare function ImageComparisonSlider({ before, after, initialPosition, enabled, contentFit, borderRadius, style, knobContent, renderLine, beforeImageProps, afterImageProps, beforeLabel, afterLabel, }: ImageComparisonSliderProps): import("react").JSX.Element; export {}; //# sourceMappingURL=ImageComparisonSlider.d.ts.map