buroventures-harald-code
Version:
Harald Code - AI-powered coding assistant CLI
17 lines (16 loc) • 447 B
TypeScript
/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { Config } from 'buroventures-harald-code-core';
export interface PrivacyState {
isLoading: boolean;
error?: string;
isFreeTier?: boolean;
dataCollectionOptIn?: boolean;
}
export declare const usePrivacySettings: (config: Config) => {
privacyState: PrivacyState;
updateDataCollectionOptIn: (optIn: boolean) => Promise<void>;
};