@pluno/product-agent-web 0.1.25 → 0.1.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,11 @@
1
+ type ActiveUsersCounterOptions = {
2
+ backendUrl?: string;
3
+ fetcher?: typeof fetch;
4
+ loader?: () => Promise<ActiveUsersCounterValue>;
5
+ };
6
+ export type ActiveUsersCounterValue = {
7
+ count: number;
8
+ refreshAfterMs: number;
9
+ };
10
+ export declare function startActiveUsersCounter(onUpdate: (value: number) => void, options?: ActiveUsersCounterOptions): () => void;
11
+ export {};