import { track, isEnabled, setEnabled } from '@a14y/telemetry'; import { type NodeRuntime } from '@a14y/telemetry/node'; export type DisableSource = 'flag' | 'env' | 'do_not_track' | 'ci' | 'config'; export interface InitCliOptions { flagDisabled: boolean; } export interface InitCliResult { runtime: NodeRuntime; resolvedDisable: DisableSource | null; /** Per-CLI-invocation random id. Threaded into every event so analytics * can correlate the aggregate `cli_run_completed` row with the * per-check `scorecard_check_result` rows from the same audit. */ runId: string; } export declare function initCliTelemetry(opts: InitCliOptions): Promise; export declare function maybeShowFirstRunNotice(runtime: NodeRuntime, outputFormat: string): Promise; export declare function flushAndShutdown(): Promise; export { track, isEnabled, setEnabled };