///
import { AirshipBridge } from 'react-native-airship';
interface Props {
bridge: AirshipBridge;
challengeUri: string;
}
/**
* Retries a task if the first attempt throws a challenge error,
* and the user successfully solves the challenge.
*/
export declare function retryOnChallenge(opts: {
cancelValue: C;
saveChallenge?: (challengeId: string) => void;
task: (challengeId: string | undefined) => Promise;
}): Promise;
export declare const ChallengeModal: (props: Props) => JSX.Element;
export {};