interface Props {
    token: string;
    onComplete: (result: any) => any;
    onError: (error: any) => any;
}

declare const WidgetComponent: (props: Props) => JSX.Element;

declare const renderPersistenceWidget: (element: HTMLElement, token: string, onComplete: () => any, onError: () => any) => void;

export { WidgetComponent as PersistenceWidget, renderPersistenceWidget };
