import { UmbCollectionViewManager } from '../view/collection-view.manager.js'; import type { UmbCollectionColumnConfiguration, UmbCollectionConfiguration, UmbCollectionContext, UmbCollectionLayoutConfiguration } from '../types.js'; import type { UmbCollectionFilterModel } from '../collection-filter-model.interface.js'; import type { UmbCollectionRepository } from '../repository/collection-repository.interface.js'; import type { ManifestCollection } from '../extensions/types.js'; import { UmbCollectionBulkActionManager } from '../bulk-action/collection-bulk-action.manager.js'; import { UmbCollectionSelectionManager } from '../selection/collection-selection.manager.js'; import { UmbArrayState, UmbBooleanState, UmbNumberState, UmbObjectState } from '../../../../libs/observable-api/index.js'; import { UmbContextBase } from '../../../../libs/class-api/index.js'; import { UmbPaginationManager } from '../../utils/index.js'; import type { UmbApi } from '../../../../libs/extension-api/index.js'; import type { UmbControllerHost } from '../../../../libs/controller-api/index.js'; import { type UmbModalRouteBuilder } from '../../router/index.js'; export declare class UmbDefaultCollectionContext extends UmbContextBase implements UmbCollectionContext, UmbApi { #private; protected _manifest?: ManifestCollection; protected _repository?: UmbCollectionRepository; protected _loading: UmbObjectState; readonly loading: import("rxjs").Observable; protected _items: UmbArrayState; readonly items: import("rxjs").Observable; protected _totalItems: UmbNumberState; readonly totalItems: import("rxjs").Observable; protected _filter: UmbObjectState; readonly filter: import("rxjs").Observable; protected _selectOnly: UmbBooleanState; readonly selectOnly: import("rxjs").Observable; readonly workspacePathBuilder: import("rxjs").Observable; readonly userDefinedProperties: import("rxjs").Observable; readonly viewLayouts: import("rxjs").Observable; readonly pagination: UmbPaginationManager; readonly selection: UmbCollectionSelectionManager; readonly view: UmbCollectionViewManager; readonly bulkAction: UmbCollectionBulkActionManager; protected _init: Promise; constructor(host: UmbControllerHost, defaultViewAlias: string, defaultFilter?: Partial); setupView(viewElement: UmbControllerHost): void; protected _configured: boolean; protected _configure(): void; /** * Sets the configuration for the collection. * @param {UmbCollectionConfiguration} config * @memberof UmbCollectionContext */ setConfig(config: UmbCollectionConfiguration): void; getConfig(): UmbCollectionConfiguration | undefined; set manifest(manifest: ManifestCollection | undefined); get manifest(): ManifestCollection | undefined; getEmptyLabel(): string; loadCollection: import("../../utils/index.js").UmbDebouncedFunction<() => Promise>; /** * Requests the collection from the repository. * @returns {Promise} * @deprecated Deprecated since v.17.0.0. Use `loadCollection` instead. * @memberof UmbCollectionContext */ requestCollection(): Promise; protected _requestCollection(): Promise; /** * Sets the filter for the collection and refreshes the collection. * @param {Partial} filter * @memberof UmbCollectionContext */ setFilter(filter: Partial): void; updateFilter(filter: Partial): void; getLastSelectedView(unique: string | undefined): string | undefined; setLastSelectedView(unique: string | undefined, viewAlias: string): void; destroy(): void; /** * Sets the manifest for the collection. * @param {ManifestCollection} manifest - The manifest for the collection. * @memberof UmbCollectionContext * @deprecated Use set the `.manifest` property instead. */ setManifest(manifest: ManifestCollection | undefined): void; /** * Returns the manifest for the collection. * @returns {ManifestCollection} - The manifest for the collection. * @memberof UmbCollectionContext * @deprecated Use the `.manifest` property instead. */ getManifest(): ManifestCollection | undefined; /** * Returns the items in the collection. * @returns {Array} - The items in the collection. */ getItems(): Array; /** * Returns the href for a specific collection item. * Override this method in specialized collection contexts to provide item-specific hrefs. * @param {CollectionItemType} _item - The collection item to get the href for. * @returns {Promise} - Undefined. The collection item does not link to anything by default. */ requestItemHref(_item: CollectionItemType): Promise; }