import React, { Component, type RefObject } from 'react';
import type { NativeMethods, ViewStyle } from 'react-native';
import type { KlarnaProductEvent } from './types/common/KlarnaProductEvent';
import type { KlarnaMobileSDKError } from './types/common/KlarnaMobileSDKError';
import { type RNKlarnaCheckoutViewProps } from './specs/KlarnaCheckoutViewNativeComponent';
export interface KlarnaCheckoutViewProps {
    style?: ViewStyle;
    readonly returnUrl: string;
    readonly onEvent?: (klarnaProductEvent: KlarnaProductEvent) => void;
    readonly onError?: (error: KlarnaMobileSDKError) => void;
}
interface KlarnaCheckoutViewState {
    nativeViewHeight: number;
}
export declare class KlarnaCheckoutView extends Component<KlarnaCheckoutViewProps, KlarnaCheckoutViewState> {
    checkoutViewRef: RefObject<Component<RNKlarnaCheckoutViewProps> & Readonly<NativeMethods>>;
    private snippet;
    private isCheckoutViewReady;
    constructor(props: KlarnaCheckoutViewProps);
    componentWillUnmount(): void;
    render(): React.JSX.Element;
    setSnippet: (snippet: string) => void;
    suspend: () => void;
    resume: () => void;
}
export default KlarnaCheckoutView;
//# sourceMappingURL=KlarnaCheckoutView.d.ts.map