import { AuthController, CMSView, CMSViewsBuilder, DataSourceDelegate, EntityCollection, EntityCollectionsBuilder, NavigationController, PermissionsBuilder, User, UserConfigurationPersistence } from "../types"; export type BuildNavigationContextProps = { basePath?: string; baseCollectionPath?: string; authController: AuthController; collections?: EC[] | EntityCollectionsBuilder; collectionPermissions?: PermissionsBuilder; views?: CMSView[] | CMSViewsBuilder; adminViews?: CMSView[] | CMSViewsBuilder; viewsOrder?: string[]; userConfigPersistence?: UserConfigurationPersistence; dataSourceDelegate: DataSourceDelegate; /** * Use this method to inject collections to the CMS. * You receive the current collections as a parameter, and you can return * a new list of collections. * @see {@link joinCollectionLists} * @param collections */ injectCollections?: (collections: EntityCollection[]) => EntityCollection[]; }; export declare function useBuildNavigationController(props: BuildNavigationContextProps): NavigationController; export declare function getSidePanelKey(path: string, entityId?: string): string;