import { Hook } from '@oclif/core';
/**
 * Init hook - runs before every command
 *
 * 1. Detects first-time users and redirects them to the init flow.
 * 2. Shows an interactive update prompt when a newer version is cached.
 * 3. Triggers a background version check for the next startup.
 *
 * A user is considered "first-time" if:
 * - No workspaces are registered in machine config (~/.proletariat/config.json)
 * - AND they're not currently inside a valid HQ directory
 *
 * Also initializes analytics (Statsig) for telemetry and feature flags.
 */
declare const hook: Hook<'init'>;
export default hook;
