/** * Telemetry preference storage (~/.agentworkforce/relay/telemetry.json) */ export interface TelemetryPrefs { /** Whether telemetry is enabled (default: true) */ enabled: boolean; /** ISO timestamp when user was shown the first-run notice */ notifiedAt?: string; /** Stable hashed machine identifier used as the PostHog distinctId. */ distinctId: string; } export declare function getPrefsPath(): string; export declare function loadPrefs(): TelemetryPrefs; export declare function savePrefs(prefs: TelemetryPrefs): void; export declare function isDisabledByEnv(): boolean; /** * Check if telemetry is enabled. * Order of precedence: * 1. AGENT_RELAY_TELEMETRY_DISABLED=1 or DO_NOT_TRACK=1 -> disabled * 2. ~/.agentworkforce/relay/telemetry.json -> use stored pref * 3. Default -> enabled */ export declare function isTelemetryEnabled(): boolean; export declare function enableTelemetry(): void; export declare function disableTelemetry(): void; export declare function markNotified(): void; export declare function wasNotified(): boolean; export declare function getDistinctId(): string; //# sourceMappingURL=config.d.ts.map