@walkeros/server-destination-posthog 3.3.0-next-1776098542393

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,102 @@
1
+ import { Mapping, Flow } from '@walkeros/core';
2
+ import { DestinationServer } from '@walkeros/server-core';
3
+ import { PostHog } from 'posthog-node';
4
+
5
+ interface Settings {
6
+ /** PostHog project API key (phc_...) */
7
+ apiKey: string;
8
+ /** PostHog client instance, populated by init */
9
+ client?: PostHog;
10
+ /** Destination-level identity mapping */
11
+ identify?: Mapping.Value;
12
+ /** Destination-level group mapping */
13
+ group?: Mapping.Value;
14
+ /** Event sections to flatten into capture properties */
15
+ include?: string[];
16
+ host?: string;
17
+ flushAt?: number;
18
+ flushInterval?: number;
19
+ personalApiKey?: string;
20
+ featureFlagsPollingInterval?: number;
21
+ disableGeoip?: boolean;
22
+ disableCompression?: boolean;
23
+ requestTimeout?: number;
24
+ fetchRetryCount?: number;
25
+ fetchRetryDelay?: number;
26
+ debug?: boolean;
27
+ disabled?: boolean;
28
+ }
29
+ interface Env extends DestinationServer.Env {
30
+ PostHog?: typeof PostHog;
31
+ }
32
+
33
+ /**
34
+ * Standard mock environment for push operations.
35
+ * Injects a mock PostHog class constructor via env.PostHog.
36
+ */
37
+ declare const push: Env;
38
+ /** Simulation tracking paths for CLI --simulate. */
39
+ declare const simulation: string[];
40
+
41
+ declare const env_push: typeof push;
42
+ declare const env_simulation: typeof simulation;
43
+ declare namespace env {
44
+ export { env_push as push, env_simulation as simulation };
45
+ }
46
+
47
+ /**
48
+ * PostHog server step examples carry destination-level settings and
49
+ * optional configInclude for the test runner to wire up.
50
+ */
51
+ type PostHogStepExample = Flow.StepExample & {
52
+ settings?: Partial<Settings>;
53
+ configInclude?: string[];
54
+ };
55
+ /**
56
+ * Default event forwarding — every walkerOS event becomes
57
+ * client.capture({ distinctId, event, properties }). With no mapping
58
+ * and no include, properties is {}. distinctId falls back to event.user.id.
59
+ */
60
+ declare const defaultCapture: PostHogStepExample;
61
+ /**
62
+ * Capture with include — destination-level include flattens data and
63
+ * globals sections into prefixed properties.
64
+ */
65
+ declare const captureWithInclude: PostHogStepExample;
66
+ /**
67
+ * Identify with $set and $set_once — per-event mapping fires
68
+ * client.identify() with person properties. skip: true suppresses capture.
69
+ */
70
+ declare const identifyWithSetAndSetOnce: PostHogStepExample;
71
+ /**
72
+ * Group identify with properties — per-event mapping fires
73
+ * client.groupIdentify() with group properties. skip: true suppresses capture.
74
+ */
75
+ declare const groupIdentifyWithProperties: PostHogStepExample;
76
+ /**
77
+ * Capture with group context — destination-level settings.group resolves
78
+ * type + key (no properties). The capture call includes groups.
79
+ */
80
+ declare const captureWithGroupContext: PostHogStepExample;
81
+ /**
82
+ * Consent revoked — client.disable() is called.
83
+ */
84
+ declare const consentRevoke: PostHogStepExample;
85
+ /**
86
+ * Consent granted — client.enable() is called.
87
+ */
88
+ declare const consentGrant: PostHogStepExample;
89
+
90
+ type step_PostHogStepExample = PostHogStepExample;
91
+ declare const step_captureWithGroupContext: typeof captureWithGroupContext;
92
+ declare const step_captureWithInclude: typeof captureWithInclude;
93
+ declare const step_consentGrant: typeof consentGrant;
94
+ declare const step_consentRevoke: typeof consentRevoke;
95
+ declare const step_defaultCapture: typeof defaultCapture;
96
+ declare const step_groupIdentifyWithProperties: typeof groupIdentifyWithProperties;
97
+ declare const step_identifyWithSetAndSetOnce: typeof identifyWithSetAndSetOnce;
98
+ declare namespace step {
99
+ export { type step_PostHogStepExample as PostHogStepExample, step_captureWithGroupContext as captureWithGroupContext, step_captureWithInclude as captureWithInclude, step_consentGrant as consentGrant, step_consentRevoke as consentRevoke, step_defaultCapture as defaultCapture, step_groupIdentifyWithProperties as groupIdentifyWithProperties, step_identifyWithSetAndSetOnce as identifyWithSetAndSetOnce };
100
+ }
101
+
102
+ export { env, step };
@@ -0,0 +1,242 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/examples/index.ts
21
+ var examples_exports = {};
22
+ __export(examples_exports, {
23
+ env: () => env_exports,
24
+ step: () => step_exports
25
+ });
26
+ module.exports = __toCommonJS(examples_exports);
27
+
28
+ // src/examples/env.ts
29
+ var env_exports = {};
30
+ __export(env_exports, {
31
+ push: () => push,
32
+ simulation: () => simulation
33
+ });
34
+ function createMockPostHog() {
35
+ return class MockPostHog {
36
+ constructor(apiKey, options) {
37
+ this.apiKey = apiKey;
38
+ this.options = options || {};
39
+ this.calls = [];
40
+ }
41
+ capture(params) {
42
+ this.calls.push({ method: "capture", args: [params] });
43
+ }
44
+ identify(params) {
45
+ this.calls.push({ method: "identify", args: [params] });
46
+ }
47
+ groupIdentify(params) {
48
+ this.calls.push({ method: "groupIdentify", args: [params] });
49
+ }
50
+ flush() {
51
+ this.calls.push({ method: "flush", args: [] });
52
+ return Promise.resolve();
53
+ }
54
+ async shutdown() {
55
+ this.calls.push({ method: "shutdown", args: [] });
56
+ }
57
+ enable() {
58
+ this.calls.push({ method: "enable", args: [] });
59
+ }
60
+ disable() {
61
+ this.calls.push({ method: "disable", args: [] });
62
+ }
63
+ };
64
+ }
65
+ var push = {
66
+ get PostHog() {
67
+ return createMockPostHog();
68
+ }
69
+ };
70
+ var simulation = [
71
+ "call:client.capture",
72
+ "call:client.identify",
73
+ "call:client.groupIdentify",
74
+ "call:client.shutdown"
75
+ ];
76
+
77
+ // src/examples/step.ts
78
+ var step_exports = {};
79
+ __export(step_exports, {
80
+ captureWithGroupContext: () => captureWithGroupContext,
81
+ captureWithInclude: () => captureWithInclude,
82
+ consentGrant: () => consentGrant,
83
+ consentRevoke: () => consentRevoke,
84
+ defaultCapture: () => defaultCapture,
85
+ groupIdentifyWithProperties: () => groupIdentifyWithProperties,
86
+ identifyWithSetAndSetOnce: () => identifyWithSetAndSetOnce
87
+ });
88
+ var import_core = require("@walkeros/core");
89
+ var defaultCapture = {
90
+ in: (0, import_core.getEvent)("product view", { timestamp: 1700000100 }),
91
+ out: [
92
+ "client.capture",
93
+ {
94
+ distinctId: "us3r",
95
+ event: "product view",
96
+ properties: {}
97
+ }
98
+ ]
99
+ };
100
+ var captureWithInclude = {
101
+ in: (0, import_core.getEvent)("order complete", { timestamp: 1700000101 }),
102
+ configInclude: ["data", "globals"],
103
+ out: [
104
+ "client.capture",
105
+ {
106
+ distinctId: "us3r",
107
+ event: "order complete",
108
+ properties: {
109
+ data_id: "0rd3r1d",
110
+ data_currency: "EUR",
111
+ data_shipping: 5.22,
112
+ data_taxes: 73.76,
113
+ data_total: 555,
114
+ globals_pagegroup: "shop"
115
+ }
116
+ }
117
+ ]
118
+ };
119
+ var identifyWithSetAndSetOnce = {
120
+ in: (0, import_core.getEvent)("user login", {
121
+ timestamp: 1700000102,
122
+ data: {
123
+ user_id: "new-user-123",
124
+ email: "user@acme.com",
125
+ plan: "premium"
126
+ }
127
+ }),
128
+ mapping: {
129
+ skip: true,
130
+ settings: {
131
+ identify: {
132
+ map: {
133
+ distinctId: "data.user_id",
134
+ $set: {
135
+ map: {
136
+ email: "data.email",
137
+ plan: "data.plan"
138
+ }
139
+ },
140
+ $set_once: {
141
+ map: {
142
+ first_login: "timestamp"
143
+ }
144
+ }
145
+ }
146
+ }
147
+ }
148
+ },
149
+ out: [
150
+ "client.identify",
151
+ {
152
+ distinctId: "new-user-123",
153
+ properties: {
154
+ $set: {
155
+ email: "user@acme.com",
156
+ plan: "premium"
157
+ },
158
+ $set_once: {
159
+ first_login: 1700000102
160
+ }
161
+ }
162
+ }
163
+ ]
164
+ };
165
+ var groupIdentifyWithProperties = {
166
+ in: (0, import_core.getEvent)("company update", {
167
+ timestamp: 1700000103,
168
+ data: {
169
+ company_id: "company_123",
170
+ company_name: "Acme",
171
+ plan: "enterprise"
172
+ }
173
+ }),
174
+ mapping: {
175
+ skip: true,
176
+ settings: {
177
+ group: {
178
+ map: {
179
+ type: { value: "company" },
180
+ key: "data.company_id",
181
+ properties: {
182
+ map: {
183
+ name: "data.company_name",
184
+ plan: "data.plan"
185
+ }
186
+ }
187
+ }
188
+ }
189
+ }
190
+ },
191
+ out: [
192
+ "client.groupIdentify",
193
+ {
194
+ groupType: "company",
195
+ groupKey: "company_123",
196
+ properties: {
197
+ name: "Acme",
198
+ plan: "enterprise"
199
+ }
200
+ }
201
+ ]
202
+ };
203
+ var captureWithGroupContext = {
204
+ in: (0, import_core.getEvent)("page view", {
205
+ timestamp: 1700000104,
206
+ globals: { pagegroup: "docs", company_id: "company_123" }
207
+ }),
208
+ settings: {
209
+ group: {
210
+ map: {
211
+ type: { value: "company" },
212
+ key: "globals.company_id"
213
+ }
214
+ }
215
+ },
216
+ out: [
217
+ "client.capture",
218
+ {
219
+ distinctId: "us3r",
220
+ event: "page view",
221
+ properties: {},
222
+ groups: { company: "company_123" }
223
+ }
224
+ ]
225
+ };
226
+ var consentRevoke = {
227
+ command: "consent",
228
+ in: { analytics: false },
229
+ settings: {},
230
+ out: ["client.disable"]
231
+ };
232
+ var consentGrant = {
233
+ command: "consent",
234
+ in: { analytics: true },
235
+ settings: {},
236
+ out: ["client.enable"]
237
+ };
238
+ // Annotate the CommonJS export names for ESM import in node:
239
+ 0 && (module.exports = {
240
+ env,
241
+ step
242
+ });
@@ -0,0 +1,220 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __export = (target, all) => {
3
+ for (var name in all)
4
+ __defProp(target, name, { get: all[name], enumerable: true });
5
+ };
6
+
7
+ // src/examples/env.ts
8
+ var env_exports = {};
9
+ __export(env_exports, {
10
+ push: () => push,
11
+ simulation: () => simulation
12
+ });
13
+ function createMockPostHog() {
14
+ return class MockPostHog {
15
+ constructor(apiKey, options) {
16
+ this.apiKey = apiKey;
17
+ this.options = options || {};
18
+ this.calls = [];
19
+ }
20
+ capture(params) {
21
+ this.calls.push({ method: "capture", args: [params] });
22
+ }
23
+ identify(params) {
24
+ this.calls.push({ method: "identify", args: [params] });
25
+ }
26
+ groupIdentify(params) {
27
+ this.calls.push({ method: "groupIdentify", args: [params] });
28
+ }
29
+ flush() {
30
+ this.calls.push({ method: "flush", args: [] });
31
+ return Promise.resolve();
32
+ }
33
+ async shutdown() {
34
+ this.calls.push({ method: "shutdown", args: [] });
35
+ }
36
+ enable() {
37
+ this.calls.push({ method: "enable", args: [] });
38
+ }
39
+ disable() {
40
+ this.calls.push({ method: "disable", args: [] });
41
+ }
42
+ };
43
+ }
44
+ var push = {
45
+ get PostHog() {
46
+ return createMockPostHog();
47
+ }
48
+ };
49
+ var simulation = [
50
+ "call:client.capture",
51
+ "call:client.identify",
52
+ "call:client.groupIdentify",
53
+ "call:client.shutdown"
54
+ ];
55
+
56
+ // src/examples/step.ts
57
+ var step_exports = {};
58
+ __export(step_exports, {
59
+ captureWithGroupContext: () => captureWithGroupContext,
60
+ captureWithInclude: () => captureWithInclude,
61
+ consentGrant: () => consentGrant,
62
+ consentRevoke: () => consentRevoke,
63
+ defaultCapture: () => defaultCapture,
64
+ groupIdentifyWithProperties: () => groupIdentifyWithProperties,
65
+ identifyWithSetAndSetOnce: () => identifyWithSetAndSetOnce
66
+ });
67
+ import { getEvent } from "@walkeros/core";
68
+ var defaultCapture = {
69
+ in: getEvent("product view", { timestamp: 1700000100 }),
70
+ out: [
71
+ "client.capture",
72
+ {
73
+ distinctId: "us3r",
74
+ event: "product view",
75
+ properties: {}
76
+ }
77
+ ]
78
+ };
79
+ var captureWithInclude = {
80
+ in: getEvent("order complete", { timestamp: 1700000101 }),
81
+ configInclude: ["data", "globals"],
82
+ out: [
83
+ "client.capture",
84
+ {
85
+ distinctId: "us3r",
86
+ event: "order complete",
87
+ properties: {
88
+ data_id: "0rd3r1d",
89
+ data_currency: "EUR",
90
+ data_shipping: 5.22,
91
+ data_taxes: 73.76,
92
+ data_total: 555,
93
+ globals_pagegroup: "shop"
94
+ }
95
+ }
96
+ ]
97
+ };
98
+ var identifyWithSetAndSetOnce = {
99
+ in: getEvent("user login", {
100
+ timestamp: 1700000102,
101
+ data: {
102
+ user_id: "new-user-123",
103
+ email: "user@acme.com",
104
+ plan: "premium"
105
+ }
106
+ }),
107
+ mapping: {
108
+ skip: true,
109
+ settings: {
110
+ identify: {
111
+ map: {
112
+ distinctId: "data.user_id",
113
+ $set: {
114
+ map: {
115
+ email: "data.email",
116
+ plan: "data.plan"
117
+ }
118
+ },
119
+ $set_once: {
120
+ map: {
121
+ first_login: "timestamp"
122
+ }
123
+ }
124
+ }
125
+ }
126
+ }
127
+ },
128
+ out: [
129
+ "client.identify",
130
+ {
131
+ distinctId: "new-user-123",
132
+ properties: {
133
+ $set: {
134
+ email: "user@acme.com",
135
+ plan: "premium"
136
+ },
137
+ $set_once: {
138
+ first_login: 1700000102
139
+ }
140
+ }
141
+ }
142
+ ]
143
+ };
144
+ var groupIdentifyWithProperties = {
145
+ in: getEvent("company update", {
146
+ timestamp: 1700000103,
147
+ data: {
148
+ company_id: "company_123",
149
+ company_name: "Acme",
150
+ plan: "enterprise"
151
+ }
152
+ }),
153
+ mapping: {
154
+ skip: true,
155
+ settings: {
156
+ group: {
157
+ map: {
158
+ type: { value: "company" },
159
+ key: "data.company_id",
160
+ properties: {
161
+ map: {
162
+ name: "data.company_name",
163
+ plan: "data.plan"
164
+ }
165
+ }
166
+ }
167
+ }
168
+ }
169
+ },
170
+ out: [
171
+ "client.groupIdentify",
172
+ {
173
+ groupType: "company",
174
+ groupKey: "company_123",
175
+ properties: {
176
+ name: "Acme",
177
+ plan: "enterprise"
178
+ }
179
+ }
180
+ ]
181
+ };
182
+ var captureWithGroupContext = {
183
+ in: getEvent("page view", {
184
+ timestamp: 1700000104,
185
+ globals: { pagegroup: "docs", company_id: "company_123" }
186
+ }),
187
+ settings: {
188
+ group: {
189
+ map: {
190
+ type: { value: "company" },
191
+ key: "globals.company_id"
192
+ }
193
+ }
194
+ },
195
+ out: [
196
+ "client.capture",
197
+ {
198
+ distinctId: "us3r",
199
+ event: "page view",
200
+ properties: {},
201
+ groups: { company: "company_123" }
202
+ }
203
+ ]
204
+ };
205
+ var consentRevoke = {
206
+ command: "consent",
207
+ in: { analytics: false },
208
+ settings: {},
209
+ out: ["client.disable"]
210
+ };
211
+ var consentGrant = {
212
+ command: "consent",
213
+ in: { analytics: true },
214
+ settings: {},
215
+ out: ["client.enable"]
216
+ };
217
+ export {
218
+ env_exports as env,
219
+ step_exports as step
220
+ };
@@ -0,0 +1,70 @@
1
+ import { Mapping as Mapping$1, Destination as Destination$1 } from '@walkeros/core';
2
+ import { DestinationServer } from '@walkeros/server-core';
3
+ import { PostHog } from 'posthog-node';
4
+
5
+ interface Settings {
6
+ /** PostHog project API key (phc_...) */
7
+ apiKey: string;
8
+ /** PostHog client instance, populated by init */
9
+ client?: PostHog;
10
+ /** Destination-level identity mapping */
11
+ identify?: Mapping$1.Value;
12
+ /** Destination-level group mapping */
13
+ group?: Mapping$1.Value;
14
+ /** Event sections to flatten into capture properties */
15
+ include?: string[];
16
+ host?: string;
17
+ flushAt?: number;
18
+ flushInterval?: number;
19
+ personalApiKey?: string;
20
+ featureFlagsPollingInterval?: number;
21
+ disableGeoip?: boolean;
22
+ disableCompression?: boolean;
23
+ requestTimeout?: number;
24
+ fetchRetryCount?: number;
25
+ fetchRetryDelay?: number;
26
+ debug?: boolean;
27
+ disabled?: boolean;
28
+ }
29
+ type InitSettings = Partial<Settings>;
30
+ interface Mapping {
31
+ identify?: Mapping$1.Value;
32
+ group?: Mapping$1.Value;
33
+ }
34
+ interface Env extends DestinationServer.Env {
35
+ PostHog?: typeof PostHog;
36
+ }
37
+ type Types = Destination$1.Types<Settings, Mapping, Env, InitSettings>;
38
+ interface Destination extends DestinationServer.Destination<Types> {
39
+ init: DestinationServer.InitFn<Types>;
40
+ }
41
+ type Config = {
42
+ settings: Settings;
43
+ } & DestinationServer.Config<Types>;
44
+ type InitFn = DestinationServer.InitFn<Types>;
45
+ type PushFn = DestinationServer.PushFn<Types>;
46
+ type PartialConfig = DestinationServer.PartialConfig<Types>;
47
+ type PushEvents = DestinationServer.PushEvents<Mapping>;
48
+ type Rule = Mapping$1.Rule<Mapping>;
49
+ type Rules = Mapping$1.Rules<Rule>;
50
+
51
+ type index_Config = Config;
52
+ type index_Destination = Destination;
53
+ type index_Env = Env;
54
+ type index_InitFn = InitFn;
55
+ type index_InitSettings = InitSettings;
56
+ type index_Mapping = Mapping;
57
+ type index_PartialConfig = PartialConfig;
58
+ type index_PushEvents = PushEvents;
59
+ type index_PushFn = PushFn;
60
+ type index_Rule = Rule;
61
+ type index_Rules = Rules;
62
+ type index_Settings = Settings;
63
+ type index_Types = Types;
64
+ declare namespace index {
65
+ export type { index_Config as Config, index_Destination as Destination, index_Env as Env, index_InitFn as InitFn, index_InitSettings as InitSettings, index_Mapping as Mapping, index_PartialConfig as PartialConfig, index_PushEvents as PushEvents, index_PushFn as PushFn, index_Rule as Rule, index_Rules as Rules, index_Settings as Settings, index_Types as Types };
66
+ }
67
+
68
+ declare const destinationPostHog: Destination;
69
+
70
+ export { index as DestinationPostHog, destinationPostHog as default, destinationPostHog };
@@ -0,0 +1,70 @@
1
+ import { Mapping as Mapping$1, Destination as Destination$1 } from '@walkeros/core';
2
+ import { DestinationServer } from '@walkeros/server-core';
3
+ import { PostHog } from 'posthog-node';
4
+
5
+ interface Settings {
6
+ /** PostHog project API key (phc_...) */
7
+ apiKey: string;
8
+ /** PostHog client instance, populated by init */
9
+ client?: PostHog;
10
+ /** Destination-level identity mapping */
11
+ identify?: Mapping$1.Value;
12
+ /** Destination-level group mapping */
13
+ group?: Mapping$1.Value;
14
+ /** Event sections to flatten into capture properties */
15
+ include?: string[];
16
+ host?: string;
17
+ flushAt?: number;
18
+ flushInterval?: number;
19
+ personalApiKey?: string;
20
+ featureFlagsPollingInterval?: number;
21
+ disableGeoip?: boolean;
22
+ disableCompression?: boolean;
23
+ requestTimeout?: number;
24
+ fetchRetryCount?: number;
25
+ fetchRetryDelay?: number;
26
+ debug?: boolean;
27
+ disabled?: boolean;
28
+ }
29
+ type InitSettings = Partial<Settings>;
30
+ interface Mapping {
31
+ identify?: Mapping$1.Value;
32
+ group?: Mapping$1.Value;
33
+ }
34
+ interface Env extends DestinationServer.Env {
35
+ PostHog?: typeof PostHog;
36
+ }
37
+ type Types = Destination$1.Types<Settings, Mapping, Env, InitSettings>;
38
+ interface Destination extends DestinationServer.Destination<Types> {
39
+ init: DestinationServer.InitFn<Types>;
40
+ }
41
+ type Config = {
42
+ settings: Settings;
43
+ } & DestinationServer.Config<Types>;
44
+ type InitFn = DestinationServer.InitFn<Types>;
45
+ type PushFn = DestinationServer.PushFn<Types>;
46
+ type PartialConfig = DestinationServer.PartialConfig<Types>;
47
+ type PushEvents = DestinationServer.PushEvents<Mapping>;
48
+ type Rule = Mapping$1.Rule<Mapping>;
49
+ type Rules = Mapping$1.Rules<Rule>;
50
+
51
+ type index_Config = Config;
52
+ type index_Destination = Destination;
53
+ type index_Env = Env;
54
+ type index_InitFn = InitFn;
55
+ type index_InitSettings = InitSettings;
56
+ type index_Mapping = Mapping;
57
+ type index_PartialConfig = PartialConfig;
58
+ type index_PushEvents = PushEvents;
59
+ type index_PushFn = PushFn;
60
+ type index_Rule = Rule;
61
+ type index_Rules = Rules;
62
+ type index_Settings = Settings;
63
+ type index_Types = Types;
64
+ declare namespace index {
65
+ export type { index_Config as Config, index_Destination as Destination, index_Env as Env, index_InitFn as InitFn, index_InitSettings as InitSettings, index_Mapping as Mapping, index_PartialConfig as PartialConfig, index_PushEvents as PushEvents, index_PushFn as PushFn, index_Rule as Rule, index_Rules as Rules, index_Settings as Settings, index_Types as Types };
66
+ }
67
+
68
+ declare const destinationPostHog: Destination;
69
+
70
+ export { index as DestinationPostHog, destinationPostHog as default, destinationPostHog };