mirror of
https://github.com/imezx/Warp.git
synced 2025-04-24 15:10:03 +00:00
23 lines
585 B
TypeScript
23 lines
585 B
TypeScript
|
import type AlgoliaAnalytics from "./insights";
|
||
|
type InsightRegion = "de" | "us";
|
||
|
export interface InitParams {
|
||
|
apiKey?: string;
|
||
|
appId?: string;
|
||
|
userHasOptedOut?: boolean;
|
||
|
anonymousUserToken?: boolean;
|
||
|
useCookie?: boolean;
|
||
|
cookieDuration?: number;
|
||
|
region?: InsightRegion;
|
||
|
userToken?: string;
|
||
|
authenticatedUserToken?: string;
|
||
|
partial?: boolean;
|
||
|
host?: string;
|
||
|
}
|
||
|
/**
|
||
|
* Binds credentials and settings to class.
|
||
|
*
|
||
|
* @param options - InitParams.
|
||
|
*/
|
||
|
export declare function init(this: AlgoliaAnalytics, options?: InitParams): void;
|
||
|
export {};
|