import type { UmbCollectionLayoutConfiguration } from '../types.js'; import type { ManifestCollectionView } from './collection-view.extension.js'; import { UmbControllerBase } from '../../../../libs/class-api/index.js'; import type { UmbControllerHost } from '../../../../libs/controller-api/index.js'; import type { UmbRoute } from '../../router/index.js'; import type { UmbInteractionMemoryManager } from '../../interaction-memory/index.js'; export interface UmbCollectionViewManagerConfig { defaultViewAlias?: string; manifestFilter?: (manifest: ManifestCollectionView) => boolean; viewsOverride?: Array; } /** * Construction arguments for {@link UmbCollectionViewManager}. */ export interface UmbCollectionViewManagerArgs { /** * When provided, the view the user left the collection in is remembered and used as the landing view. */ interactionMemoryManager?: UmbInteractionMemoryManager; } export declare class UmbCollectionViewManager extends UmbControllerBase { #private; readonly views: import("rxjs").Observable; readonly currentView: import("rxjs").Observable; readonly routes: import("rxjs").Observable; readonly rootPathName: import("rxjs").Observable; /** * @param {UmbControllerHost} host - The controller host this manager is bound to. * @param {UmbCollectionViewManagerArgs} [args] - Optional construction arguments. */ constructor(host: UmbControllerHost, args?: UmbCollectionViewManagerArgs); setConfig(config: UmbCollectionViewManagerConfig): void; /** * Sets the current view. * @param {ManifestCollectionView} view The view to set as current. * @memberof UmbCollectionViewManager */ setCurrentView(view: ManifestCollectionView): void; /** * Returns the current view. * @returns {ManifestCollectionView} The current view. * @memberof UmbCollectionViewManager */ getCurrentView(): ManifestCollectionView | undefined; }