export declare const ChatAIDisabledSettingId = "chat.disableAIFeatures"; /** * Configuration key for the "Continue with Microsoft" sign-in choice. Choosing it exchanges a * Microsoft Entra sign-in for a GitHub token that is published as a process-lifetime GitHub * authentication session. See {@link ChatMicrosoftAuthenticationMode} for its values. */ export declare const ChatMicrosoftAuthenticationEnabledSettingId = "chat.microsoftAuthentication.enabled"; /** When sign-in dialogs offer "Continue with Microsoft". */ export declare enum ChatMicrosoftAuthenticationMode { /** Only when a Microsoft work or school account on this device is linked to a GitHub account. */ Auto = "auto", Always = "always", /** The default, until experimentation rolls out {@link Auto}. */ Never = "never" } /** * Reads {@link ChatMicrosoftAuthenticationEnabledSettingId}. The setting was a boolean before it * gained {@link ChatMicrosoftAuthenticationMode.Auto}, so `true` and `false` keep their meaning, and * anything unrecognized is treated as {@link ChatMicrosoftAuthenticationMode.Never}. */ export declare function toChatMicrosoftAuthenticationMode(value: unknown): ChatMicrosoftAuthenticationMode; export declare const ChatEditAutoApproveSettingId = "chat.tools.edits.autoApprove"; export declare const ChatAgentFilesLocationsSettingId = "chat.agentFilesLocations"; export declare const ChatHookFilesLocationsSettingId = "chat.hookFilesLocations"; export type ChatEditAutoApprovePatterns = Readonly>; export interface IChatSensitiveEditLocation { readonly path: string; readonly isDirectory: boolean; } export declare const CHAT_CUSTOMIZATION_LOCATION_PATTERN = "^(?![A-Za-z]:[\\\\/])(?!/)(?!~(?!/))(?!.*\\\\)(?!.*[*?\\[\\]{}]).*\\S.*$"; export declare function isValidChatCustomizationLocation(path: string): boolean; /** Protects configured locations and descendants without inferring filesystem types from names. */ export declare function getChatSensitiveEditLocations(hookLocations: unknown, agentLocations: unknown): readonly IChatSensitiveEditLocation[]; export declare function mergeChatSensitiveEditLocations(...locationSets: readonly (readonly IChatSensitiveEditLocation[])[]): readonly IChatSensitiveEditLocation[]; export declare enum ChatExternalSessionsMode { Recent = "recent", None = "none", Last24Hours = "last24Hours", Last7Days = "last7Days", Last30Days = "last30Days" } /** Edit paths whose executable side effects require confirmation regardless of user configuration. */ export declare const ALWAYS_CHECKED_EDIT_PATTERNS: ChatEditAutoApprovePatterns; export declare const DEFAULT_EDIT_AUTO_APPROVE_PATTERNS: ChatEditAutoApprovePatterns; export declare function mergeChatEditAutoApprovePatterns(value: unknown): ChatEditAutoApprovePatterns;