UNPKG

@aftership/web-pixels

Version:

AfterShip Web Pixels for data anaylsis

21 lines (20 loc) 490 B
interface ICommonStoreState { pixelId: string; libVersion: string; libName: string; env: 'dev' | 'test' | 'prod'; } export interface IStoreState extends ICommonStoreState { } export declare class Store { private static instance; private state; constructor(); getState(): IStoreState; setState(state: IStoreState): void; getPixelId(): string; getLibVersion(): string; getLibName(): string; } export declare const pixelStore: Store; export {};