import React, { ReactNode } from 'react'; import { DecafAppController } from './DecafAppController'; export interface DecafAppConfig { /** version of the application */ currentVersion?: string; /** callback when a new version is available */ onNewVersion?: (versionOld: string, versionNew: string) => void; /** interval (in seconds) to check for new version */ versionCheckInterval?: number; /** interval (in seconds) to check auth status */ authCheckInterval?: number; /** Base path of host app. * * This is usually PUBLIC_URL environment variable in React apps. * * Required to enable version checker. */ basePath?: string; } export interface DecafAppProps { children: ReactNode; config?: DecafAppConfig; controller?: DecafAppController; } export default function DecafApp(props: DecafAppProps): React.JSX.Element | null; //# sourceMappingURL=DecafApp.d.ts.map