export declare const SETUP_SCOPES: readonly ["user", "project"]; export type SetupScope = (typeof SETUP_SCOPES)[number]; export declare const SETUP_INSTALL_MODES: readonly ["legacy", "plugin"]; export type SetupInstallMode = (typeof SETUP_INSTALL_MODES)[number]; export declare const SETUP_MCP_MODES: readonly ["none", "compat"]; export type SetupMcpMode = (typeof SETUP_MCP_MODES)[number]; export interface PersistedSetupScope { scope: SetupScope; installMode?: SetupInstallMode; mcpMode?: SetupMcpMode; } export type PartialPersistedSetupScope = Partial; export declare function isSetupScope(value: string): value is SetupScope; export declare function isSetupInstallMode(value: string): value is SetupInstallMode; export declare function isSetupMcpMode(value: string): value is SetupMcpMode; export declare function getSetupScopeFilePath(projectRoot: string): string; export declare function readPersistedSetupPreferences(projectRoot: string, options?: { warnOnLegacyScope?: boolean; }): Promise; export declare function readPersistedSetupPreferencesSync(projectRoot: string, options?: { warnOnError?: boolean; }): PartialPersistedSetupScope | undefined; export declare function readPersistedSetupScopeSync(projectRoot: string): SetupScope | undefined; //# sourceMappingURL=setup-preferences.d.ts.map