/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ /** @hidden */ export declare enum COLLECTION_ACTION { add = 0, remove = 1 } /** @hidden */ export type Collection = T[]; /** @hidden */ export interface CollectionAction { type: COLLECTION_ACTION; item: T; } /** @hidden */ export declare const useCollection: (initial?: T[]) => [T[], (event: CollectionAction) => void];