type EntityCustomView = Record> = { key: string; [key: string]: unknown; }; import type { AdminCollection } from "@rebasepro/cms-types"; export type NavigationViewInternal = Record> = NavigationViewEntityInternal | NavigationViewCollectionInternal | NavigationViewEntityCustomInternal; export interface NavigationViewEntityInternal> { type: "entity"; entityId: string | number; slug: string; path: string; parentCollection: AdminCollection; } export interface NavigationViewCollectionInternal> { type: "collection"; id: string; slug: string; path: string; collection: AdminCollection; } export interface NavigationViewEntityCustomInternal> { type: "custom_view"; slug: string; path: string; entityId: string | number; view: EntityCustomView; } export declare function getNavigationEntriesFromPath(props: { path: string; collections: AdminCollection[] | undefined; currentFullPath?: string; contextEntityViews?: EntityCustomView[]; }): NavigationViewInternal[]; export {};