import React from 'react'; import { BlueBase, BootOptions } from '../../BlueBase'; import { BlueBaseAppErrorProps } from '../BlueBaseAppError'; import { BlueBaseAppLoadingProps } from '../BlueBaseAppLoading'; export interface BlueBaseAppProps extends Partial { /** BlueBase Context */ BB?: BlueBase; /** Component rendered when an error occurs */ ErrorComponent: React.ComponentType; /** Component rendered when an error occurs */ LoadingComponent: React.ComponentType; /** * If this prop is provided, this tree will be rendered instead of BlueBase's own view. */ children?: React.ReactNode; /** * Used to locate this view in end-to-end tests. */ testID?: string; } /** * # 🚀 BlueBaseApp * * The main BlueBase app. This is the top level component in BlueBase. Takes care * of initialisation, and renders either children, or app with routing. * * ## Usage * ```jsx * * ``` */ export declare const BlueBaseApp: { (props: BlueBaseAppProps): React.JSX.Element; defaultProps: Partial; displayName: string; };