import type { PropertyInfo } from '../globals'; export type CascadeSubscription = { previousValue?: string; } & { [subscriptionId: string]: CascadeSubscriptionCallback; }; export type CascadeSubscribersObj = { [context: string]: { [pageReference: string]: CascadeSubscription; }; }; export type CascadeSubscriptionCallback = (propertyFullReference: string, propertyValue: string) => void; export type CascadeResetSubscribersObj = { [context: string]: { [pageReference: string]: PropertyInfo[]; }; }; export type ContextPropertyDependency = { [property: string]: string[]; }; export type DataPageSourceMap = { [context: string]: ContextPropertyDependency; };