import { ReactNode } from "react";
import { WithTestID } from "../../utils/types";
type Dismissable = WithTestID<{
    onDismiss?: () => void;
    dismissThreshold?: number;
    children: ReactNode;
}>;
/**
 * Component that allows for a dismissable gesture, both left and right.
 * When the threshold is reached, the `onDismiss` callback is called.
 * @param onDismiss Callback to be called when the threshold is reached.
 * @param dismissThreshold Threshold to be reached to call the `onDismiss` callback.
 * @param children Children to be rendered inside the component.
 * @returns A dismissable component.
 */
declare const Dismissable: ({ onDismiss, dismissThreshold, children, testID }: Dismissable) => import("react/jsx-runtime").JSX.Element;
export { Dismissable };
//# sourceMappingURL=Dismissable.d.ts.map