export interface MixpanelClientConfig { token: string; distinctId?: string | null; environment?: string; platform?: string; superProperties?: Record; onError?: (message: string) => void; } export declare const AGENT_EDITOR_EVENT_PREFIX = "Agent Editor: "; export declare const HOME_EVENT_PREFIX = "Home: "; export interface MixpanelClient { /** Never throws; delivery failures route to `onError`. */ track(event: string, properties?: Record): Promise; /** `track` with the `Agent Editor: ` prefix applied to the event name (inside an agent). */ trackEditor(event: string, properties?: Record): Promise; /** `track` with the `Home: ` prefix applied to the event name (general home actions). */ trackHome(event: string, properties?: Record): Promise; identify(distinctId: string | null): void; register(props: Record): void; } export declare function base64EncodeUtf8(input: string): string; export declare function createMixpanelClient(config: MixpanelClientConfig): MixpanelClient; //# sourceMappingURL=mixpanelClient.d.ts.map