export type ListenerCollection = { subscribe: (listener: (...args: TArgs) => void) => () => void; notify: (...args: TArgs) => void; }; /** * Create a stable listener Set with subscribe/unsubscribe + notify utilities. */ export declare function useListenerCollection(): ListenerCollection;