import React from 'react';
interface PromiseRenderProps<T, K> {
    ok: T;
    error: K;
    promise: Promise<boolean>;
}
interface PromiseRenderState {
    component: React.ComponentClass | React.FunctionComponent;
}
export default class PromiseRender<T, K> extends React.Component<PromiseRenderProps<T, K>, PromiseRenderState> {
    state: PromiseRenderState;
    componentDidMount(): void;
    shouldComponentUpdate: (nextProps: PromiseRenderProps<T, K>, nextState: PromiseRenderState) => boolean;
    setRenderComponent(props: PromiseRenderProps<T, K>): void;
    checkIsInstantiation: (target: React.ReactNode | React.ComponentClass) => React.FunctionComponent;
    render(): JSX.Element;
}
export {};
