import type { ReactElement, HTMLAttributes, Ref } from "react";
import type SlImageComparerElement from "@shoelace-style/shoelace/dist/components/image-comparer/image-comparer.js";
import { SlChangeEvent } from "../events";
export type { SlImageComparerElement };
export type SlImageComparerChangeEvent = SlChangeEvent;
export interface SlImageComparerProps
extends HTMLAttributes {
ref?: Ref;
/**
* The position of the divider as a percentage.
*/
position?: number;
/**
* Emitted when the position changes.
*/
onSlChange?: (event: SlImageComparerChangeEvent) => void;
/**
* Emitted when the position changes.
*/
onSlChangeCapture?: (event: SlImageComparerChangeEvent) => void;
}
/**
* Compare visual differences between similar photos with a sliding panel.
*/
export default function SlImageComparer(
props: SlImageComparerProps,
): ReactElement;