import React from 'react'; import { MongoNavInterface } from './types'; /** * # MongoNav * * MongoNav component * * ``` ``` * @param props.activeProduct Describes what product is currently active. * @param props.activeNav Determines what nav item is currently active. * @param props.hosts Object where keys are MDB products and values are the desired hostURL override for that product, to enable `` to work across all environments. * @param props.onOrganizationChange Callback invoked when user types into organization picker. * @param props.onProjectChange Callback invoked when user types into project picker. * @param props.urls Object to enable custom overrides for every `href` used in ``. * @param props.showProjectNav Determines whether the project navigation should be shown. * @param props.admin Describes whether or not user is an `admin`. * @param props.constructOrganizationURL Function to determine destination URL when user selects a organization from the organization picker, see also `hosts`. * @param props.constructProjectURL Function to determine destination URL when user selects a project from the project picker, see also `hosts`. * @param props.mode Describes what environment the component is being used in, defaults to `production`. * @param props.onSuccess Callback that receives the response of the fetched data, having been converted from JSON into an object. * @param props.onError Function that is passed an error code as a string, so that consuming application can handle fetch failures. * @param props.onPrem onPrem config object with three keys: enabled, version and mfa * @param props.className Applies a className to the root element * @param props.onElementClick Click EventHandler that receives a `type` as its first argument and the associated `MouseEvent` as its second. This prop provides a hook into product link and logout link clicks and allows consuming applications to handle routing internally. * @param props.activeOrgId ID for active organization, will cause a POST request to cloud to update current active organization. * @param props.activeProjectId ID for active project, will cause a POST request to cloud to update current active project. * @param props.className Applies a className to the root element * @param props.loadData Determines whether or not the component will fetch data from cloud * @param props.activePlatform Determines which platform is active * @param props.alertPollingInterval Defines interval for alert polling */ declare const MongoNav: React.ForwardRefExoticComponent>; export default MongoNav; //# sourceMappingURL=MongoNav.d.ts.map