import React, { ReactElement, Ref } from 'react';
import { KlashaOptionsProps } from './types';
export interface KlashaRenderProps {
    initializePayment: () => void;
    ref?: Ref<any>;
}
interface KlashaConsumerProps extends KlashaOptionsProps {
    children: (props: KlashaRenderProps) => ReactElement | null;
    callBack?: Function;
}
declare const KlashaConsumer: React.ForwardRefExoticComponent<KlashaConsumerProps & React.RefAttributes<any>>;
export default KlashaConsumer;
