export type ConsentState = "accepted" | "declined" | "not_set"; export declare function configDir(): string; /** * Resolve effective consent. The env var takes precedence over the file * because it's the "escape hatch" for CI/devcontainers that can't write * to the home directory. */ export declare function readConsent(): ConsentState; export declare function writeConsent(state: Exclude): { path: string; ok: boolean; error?: string; }; /** * Anonymous-first semantics: telemetry is enabled unless explicitly declined. * "not_set" (first run) counts as enabled — continued use is the opt-in signal. */ export declare function telemetryEnabled(): boolean; //# sourceMappingURL=consent.d.ts.map