import { CLICommand } from '../command/cliCommand'; export interface TrackableOptions { /** * Event name used to identify the command. * The expression should go as follows: **(Subject) [Process]?** * * Ex.: *auth login token* * - *auth login* is the **Subject** * - *token* is the **Process** * * If omited, the Command ID will be used to identify all events fired from that same command. * For long commands, we recommend populating this value to keep analytic events consistent. * * Visit https://coveord.atlassian.net/wiki/spaces/RD/pages/2855141440/New+Taxonomy+Definition for more info */ eventName?: string; /** * Additional properties to be added to all events fired for a particular command. */ overrideEventProperties?: Record; } /** * Use this decorator on a `run()` method from a class inheriting from {@link CLICommand} to track the command usage. */ export declare function Trackable({ eventName, overrideEventProperties, }?: TrackableOptions): (_target: CLICommand, _propertyKey: string, descriptor: PropertyDescriptor) => void;