import type { FormOfPaymentType } from '@funkit/api-base';
/**
 * Shared lifecycle hook for Swapped iframe containers (deposit + withdrawal).
 * Handles activate/deactivate on mount/unmount and timeout error detection.
 *
 * `onTimeout` is stabilized internally via useEffectEvent — callers do not
 * need to memoize it.
 */
export declare function useSwappedIframeLifecycle({ fopType, onTimeout, }: {
    fopType: FormOfPaymentType;
    onTimeout: () => void;
}): void;
