/** Called from the bin's preAction hook with Commander's resolved command chain. */ export declare function setCommandContext(path: string): void; export declare function captureException(err: unknown): void; /** * Lifecycle telemetry (cli.command_run, …). Properties stay * at lifecycle granularity: command paths, phases, error codes, durations — * never arguments, contents, or secrets. */ export declare function captureEvent(event: string, properties?: Record): void; export declare function shutdownPostHog(): Promise; //# sourceMappingURL=posthog.d.ts.map