import React from 'react'; import AppContext from './components/AppContext'; import { Breadcrumb, ToastType, Toast } from './types'; export * from './types'; export declare type AppShellProps = { /** Application to render. */ children: NonNullable; /** Name of the entire application or project. */ name: string; }; export declare type AppShellState = { breadcrumbs: Breadcrumb[]; data: { [id: string]: object; }; toasts: Toast[]; }; export { AppContext }; export declare class AppShell extends React.Component { static propTypes: { name: import("prop-types").Validator; }; static defaultProps: { name: string; }; state: { breadcrumbs: never[]; data: {}; toasts: never[]; }; addBreadcrumb: (label: string, props?: Partial | undefined) => string; addPageData: (data: object, customID?: string) => string; addToast: (message: string | Error, type: ToastType, props?: Partial | undefined) => string; addRefreshToast: (message: string) => string; addInfoToast: (message: string, props?: Partial | undefined) => string; addSuccessToast: (message: string, props?: Partial | undefined) => string; addFailureToast: (message: string | Error, props?: Partial | undefined) => string; removeBreadcrumb: (id: string) => void; removePageData: (id: string) => void; removeToast: (id: string) => void; render(): JSX.Element; } declare const _default: React.ComponentType; export default _default; //# sourceMappingURL=index.d.ts.map