import { type JournalEvent } from "./flush-journal"; /** * TRANSPORT IS SHARED: packages/orchestrator/src/state-machine.ts * (appendTelemetryQueueEntry) appends to and templates/cursor-hooks/ * session-start.mjs flushes the same v2 journal * (~/.enterprise-skills/.telemetry-journal.jsonl) — the rename-claim protocol * in ./flush-journal.ts (CROSS_PROCESS_FLUSH_DESIGN §3.2). Change the * protocol only with matching changes in all three places. */ type TelemetryEvent = JournalEvent; export declare function trackEvent(event: TelemetryEvent): void; export declare function flushTelemetry(): Promise; export declare function trackSkillExecution(skillId: string): { finish: (success?: boolean) => void; }; export {}; //# sourceMappingURL=telemetry.d.ts.map