mirror of
https://github.com/imezx/Warp.git
synced 2025-04-24 15:10:03 +00:00
15 lines
1.2 KiB
TypeScript
15 lines
1.2 KiB
TypeScript
|
import type AlgoliaAnalytics from "./insights";
|
||
|
export declare const MONTH: number;
|
||
|
export declare const getCookie: (name: string) => string;
|
||
|
export declare function setAnonymousUserToken(this: AlgoliaAnalytics, inMemory?: boolean): void;
|
||
|
export declare function setUserToken(this: AlgoliaAnalytics, userToken: number | string): number | string;
|
||
|
export declare function getUserToken(this: AlgoliaAnalytics, options?: any, callback?: (err: any, userToken?: number | string) => void): number | string | undefined;
|
||
|
export declare function onUserTokenChange(this: AlgoliaAnalytics, callback?: (userToken?: number | string) => void, options?: {
|
||
|
immediate: boolean;
|
||
|
}): void;
|
||
|
export declare function setAuthenticatedUserToken(this: AlgoliaAnalytics, authenticatedUserToken: number | string | undefined): number | string | undefined;
|
||
|
export declare function getAuthenticatedUserToken(this: AlgoliaAnalytics, options?: any, callback?: (err: any, authenticatedUserToken?: number | string) => void): number | string | undefined;
|
||
|
export declare function onAuthenticatedUserTokenChange(this: AlgoliaAnalytics, callback?: (authenticatedUserToken?: number | string) => void, options?: {
|
||
|
immediate: boolean;
|
||
|
}): void;
|