
import { CubeNotificationProps } from "../types.js";
import { ListState } from "react-stately";
import { Collection, CollectionElement, Node } from "@react-types/shared";

//#region src/components/overlays/NewNotifications/hooks/types.d.ts
type CollectionChildren<T, R = T> = CollectionElement<R> | CollectionElement<R>[] | ((item: T) => CollectionElement<R>);
type NotificationItemNode<T> = Omit<Node<CubeNotificationProps>, 'props'> & {
  props: T;
};
type NotificationsListState<T> = Omit<ListState<T>, 'collection'> & {
  collection: Collection<NotificationItemNode<T>>;
};
//#endregion
export { CollectionChildren, NotificationItemNode, NotificationsListState };
//# sourceMappingURL=types.d.ts.map