import type { Command } from "@commander-js/extra-typings"; export declare function withAnalytics>(fn?: (command: TCommand) => Record, options?: { name?: string; }): (actionCommand: TCommand) => void; export declare function flushAnalytics(): Promise;