import React from "react"; import type { AppConfiguration } from "../Types"; import type { ConfiguredRoute, WorkflowConfiguration } from "./workflow"; export interface WorkflowIcon { path: string; } export interface UserConfiguration { [packageName: string]: { icon: WorkflowIcon; [key: string]: WorkflowIcon | ConfiguredRoute; }; } declare enum ChildType { HEADER = "header" } interface ChildTypes { type: ChildType; } declare type ClutchAppChildType = ChildTypes; declare type ClutchAppChild = React.ReactElement; interface ClutchAppProps { availableWorkflows: { [key: string]: () => WorkflowConfiguration; }; configuration: UserConfiguration; appConfiguration?: AppConfiguration; children?: ClutchAppChild | ClutchAppChild[]; } declare const BugSnagApp: (props: ClutchAppProps) => JSX.Element; export default BugSnagApp; //# sourceMappingURL=index.d.ts.map