import type { Command } from 'commander'; /** * The usage headers every request to Comms (and the Todoist OAuth server) * carries, so backend logs can attribute traffic to this CLI, its version and * OS, one CLI run, and the command that made it. The header set is cli-core's, * shared by every Doist CLI; one tracker per process keeps one session ID. */ export declare const usageTracking: import("@doist/cli-core").UsageTracking; /** * Labels each command's API requests with that command. The hook fires for * every subcommand under `program`, after Commander has picked the one that * runs, so an implicit default (`tdc thread `) is labelled `thread:view`. */ export declare function trackCommandUsage(program: Command): Command; /** Wraps a `fetch` so requests that bypass the SDK carry the usage headers too. */ export declare function withUsageHeaders(fetchImpl: typeof fetch): typeof fetch; //# sourceMappingURL=usage-tracking.d.ts.map