// Generated by HeaderLand from iOS 27.0.1 (24A446), /System/Library/PrivateFrameworks/GenerativePartnerService.framework/GenerativePartnerService. // Recovered from the binary: no comments, no parameter names Swift does not keep, no availability. actor GenerativePartnerService.ExternalProviderService.CacheConsistencyCheck { var checkNeeded: Swift.Bool } actor GenerativePartnerService.ExternalProviderService.ResultSummary { var segmentCount: Swift.Int var agentIntentResult: GenerativePartnerService.ExternalProviderService.AgentIntentResult_v3 var session: (any ToolKit.ToolExecutionSession)? var numberOfStatusUpdates: Swift.Int var outputContainsText: Swift.Bool var outputContainsFile: Swift.Bool var fileSize: Swift.Int var totalSize: Swift.Int var totalCharacters: Swift.Int var suggestionSize: Swift.Int } actor ToolKitDatabaseObserver { class WeakObserverBox { weak var observer: (any GenerativePartnerService.ExternalProvidersObserving)? } var metadataObserver: (any __C.NSObject)? var appRegisteredObserver: (any __C.NSObject)? var toolkitDatabaseObserver: (any __C.NSObject)? var observers: [GenerativePartnerService.ToolKitDatabaseObserver.WeakObserverBox] var internalChangeHandler: (@Sendable () async -> Swift.Bool)? var enhancedSiriTask: Swift.Task<(), Swift.Never>? let logger: os.Logger } class ApprovalForwardingDialogHandler { let approvalHandler: any GenerativePartnerService.ExternalProviderApprovalHandler let approvalLogger: os.Logger } class ExternalProviderService { enum AgentIntentResult { case error(GenerativePartnerService.ExternalProviderService.ExternalProviderError) case finished case yield } struct AssistantAgentIntentResponseStream { struct AsyncIterator { var iterator: Swift.IndexingIterator<[GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment]> func next() async throws -> GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment? } let response: GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse var result: GenerativePartnerService.ExternalProviderService.AgentIntentResult { get } func makeAsyncIterator() -> GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponseStream.AsyncIterator } struct AssistantAgentIntentResponse { enum Segment { struct TextContent { let text: Swift.String init(text: Swift.String) } struct FileContent { let file: AppIntents.IntentFile init(file: AppIntents.IntentFile) } struct EntityContent { let appEntity: any AppIntents.AppEntity init(appEntity: A) where A: AppIntents.AppEntity } case text(GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment.TextContent) case file(GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment.FileContent) case entity(GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment.EntityContent) } let segments: [GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment] init(segments: [GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment]) } struct ExternalProvider { enum CodingKeys { case providerID case name case agentIntentSupportedFeatures case appBundleID case isVip case isAppInstalled } let providerID: Swift.String let name: Swift.String let useCases: [Swift.String] let agentIntentSupportedFeatures: GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures let appBundleID: Swift.String let isVip: Swift.Bool let isAppInstalled: Swift.Bool let implementsAgentIntent: Swift.Bool init(providerID: Swift.String, name: Swift.String, supportedFeatures: GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3, appBundleID: Swift.String, isVip: Swift.Bool) init(providerID: Swift.String, name: Swift.String, agentIntentSupportedFeatures: GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures, appBundleID: Swift.String, isVip: Swift.Bool, isAppInstalled: Swift.Bool) init(toolID: Swift.String, name: Swift.String, supportedFeatures: GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3, appBundleID: Swift.String, isVip: Swift.Bool) var actuallyHasAgentIntent: Swift.Bool { get } var description: Swift.String { get } var enabledStatus: GenerativePartnerService.ExternalProviderEnabledStatus { get } var hasEverBeenTurnedOffInSettings: Swift.Bool { get } var isHidden: Swift.Bool { get } var isOptedIn: Swift.Bool { get } var isSystemChatGPTWrapper: Swift.Bool { get } var toolID: Swift.String { get } func isInstalled() -> Swift.Bool func isOnAppStore() async throws -> Swift.Bool func setIsOptedIn(_: Swift.Bool) func isAppOutOfDate() -> Swift.Bool func isAppAvailableForUse() -> Swift.Bool func isEnabled() -> Swift.Bool static func checkImplementsAgentIntent(appBundleID: Swift.String) -> Swift.Bool } enum ExternalProviderError { case internalError(context: Swift.String) case permissionLocation(precise: Swift.Bool) case toolNotAvailable case enhancedSiriUnavailable case externalIntelligenceNotAllowed case timeout case inputRejectedByDenyList case outputRejectedByDenyList case unknownError case networkFailure case partialFailure case notAllowed case unsupportedOnDevice case featureCurrentlyRestricted case entityNotFound case usageLimitExceeded case unsupportedFileType case permissionSiri case permissionLocalNetwork case permissionBluetooth case permissionPhotos case permissionContacts case signIn case accountSetup case confirmation var errorDescription: Swift.String? { get } } actor CacheConsistencyCheck { var checkNeeded: Swift.Bool } struct AgentIntentSupportedFeatures { enum Feature { case imagePlayground case shortcuts case systemAssistant case writingTools case visualIntelligence } enum CodingKeys { case features } let features: [GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures.Feature] init(features: [GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures.Feature]) init(features: [Swift.String]) func supportsFeature(_: GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures.Feature) -> Swift.Bool static func allFeatures() -> GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures } struct AgentIntentFeatures_v3 { enum Feature { case imagePlayground case shortcuts case systemAssistant case writingTools case visualIntelligence } let rawValue: Swift.Int static var imagePlayground: GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3 { get } static var shortcuts: GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3 { get } static var systemAssistant: GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3 { get } static var visualIntelligence: GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3 { get } static var writingTools: GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3 { get } } struct Input_v3 { enum Item { struct TextContent { let text: Swift.String init(text: Swift.String) } struct FileContent { let file: AppIntents.IntentFile init(file: AppIntents.IntentFile) } struct EntityContent { let appEntity: any AppIntents.AppEntity init(appEntity: A) where A: AppIntents.AppEntity } struct FileValueContent { let file: ToolKit.TypedValue init(file: ToolKit.TypedValue) } case text(GenerativePartnerService.ExternalProviderService.Input_v3.Item.TextContent) case file(GenerativePartnerService.ExternalProviderService.Input_v3.Item.FileContent) case entity(GenerativePartnerService.ExternalProviderService.Input_v3.Item.EntityContent) case fileValue(GenerativePartnerService.ExternalProviderService.Input_v3.Item.FileValueContent) } let items: [GenerativePartnerService.ExternalProviderService.Input_v3.Item] init(items: [GenerativePartnerService.ExternalProviderService.Input_v3.Item]) } struct History_v3 { var sessionIdentifier: Swift.String init(sessionIdentifier: Swift.String) } enum AgentConfiguration_v3 { struct SystemAssistant { var selectedText: Swift.String? init(selectedText: Swift.String?) init() } struct VisualIntelligence { init() } struct WritingTools { enum RewriteType { case magic case proofread case concise case friendly case professional case openEnded case summary case keyPoints case list case table } var type: GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.WritingTools.RewriteType var selectedText: Foundation.AttributedString var allText: Foundation.AttributedString var selectedRange: Swift.Range init(type: GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.WritingTools.RewriteType, selectedText: Foundation.AttributedString, allText: Foundation.AttributedString, selectedRange: Swift.Range) } struct ImagePlayground { var size: __C.CGSize init(size: __C.CGSize) } struct Shortcuts { enum OutputType { case text case number case boolean case date case textList case uuidList case dictionary } var outputType: GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.Shortcuts.OutputType init(outputType: GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.Shortcuts.OutputType) } case systemAssistant(GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.SystemAssistant) case visualIntelligence(GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.VisualIntelligence) case writingTools(GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.WritingTools) case imagePlayground(GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.ImagePlayground) case shortcuts(GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.Shortcuts) } enum AgentIntentResult_v3 { case needsFollowUp(message: Swift.String) case handledRequestWithURL(openUrlIntent: AppIntents.OpenURLIntent?) case needsFollowUpWithURL(message: Swift.String, openUrlIntent: AppIntents.OpenURLIntent?) case handledRequest case unableToHandle } struct AgentIntentResponseStream_v3 { enum StreamError { case serviceError(GenerativePartnerService.ExternalProviderService.ExternalProviderError) case providerError(any Swift.Error) var errorDescription: Swift.String? { get } } let stream: Swift.AsyncThrowingStream let resultProvider: @Sendable () async throws -> GenerativePartnerService.ExternalProviderService.AgentIntentResult_v3 var result: GenerativePartnerService.ExternalProviderService.AgentIntentResult_v3 { get } func makeAsyncIterator() -> Swift.AsyncThrowingStream.Iterator } struct AgentIntentResponse_v3 { enum Segment { struct TextContent { let text: Swift.String init(text: Swift.String) } struct FileContent { let file: AppIntents.IntentFile let id: Swift.String? let scopedHandle: GenerativePartnerService.SecurityScopedFileHandle? init(file: AppIntents.IntentFile, id: Swift.String?) } struct EntityContent { let appEntity: any AppIntents.AppEntity init(appEntity: A) where A: AppIntents.AppEntity } struct StatusContent { let status: Swift.String let progress: Swift.Double? init(status: Swift.String, progress: Swift.Double) init(status: Swift.String) } struct ContinuationURLContent { let url: Foundation.URL init(url: Foundation.URL) } struct EntityValueContent { let entityValue: ToolKit.TypedValue.EntityValue init(entityValue: ToolKit.TypedValue.EntityValue) } case text(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.TextContent) case writingToolsText(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.TextContent) case file(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.FileContent) case entity(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.EntityContent) case entityValue(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.EntityValueContent) case status(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.StatusContent) case continuationURL(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.ContinuationURLContent) } let segments: [GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment] init(segments: [GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment]) } actor ResultSummary { var segmentCount: Swift.Int var agentIntentResult: GenerativePartnerService.ExternalProviderService.AgentIntentResult_v3 var session: (any ToolKit.ToolExecutionSession)? var numberOfStatusUpdates: Swift.Int var outputContainsText: Swift.Bool var outputContainsFile: Swift.Bool var fileSize: Swift.Int var totalSize: Swift.Int var totalCharacters: Swift.Int var suggestionSize: Swift.Int } struct MediaTaskTestResult { let items: [GenerativePartnerService.ExternalProviderService.MediaTaskResultItem] } struct MediaTaskResultItem { let itemID: Swift.String? let url: Swift.String? let name: Swift.String? let bundleId: Swift.String? let artworkURL: Swift.String? let smallestSideLength: CoreGraphics.CGFloat? let deviceFamilies: [Swift.String]? let isXROSCompatible: Swift.Bool } struct CachedMediaTaskResult { let mediaTaskResult: GenerativePartnerService.ExternalProviderService.MediaTaskTestResult let cachedTimestamp: Swift.Int } enum AppBundleUtils { static func isAppInstalled(bundleID: Swift.String) -> Swift.Bool static func appHasEntitlement(bundleID: Swift.String, key: Swift.String) -> Swift.Bool } struct ExternalProvidersObservingEvents { static var EnhancedSiriAvailabilityDidChange: Swift.String { get } static var ExternalProvidersListChanged: Swift.String { get } static var ExternalProvidersOptInStatusDidChange: Swift.String { get } } enum FeatureAvailability { case unavailable(GenerativePartnerService.ExternalProviderEnabledStatus.UnavailableReason) case available } let logger: os.Logger let modelCatalogMonitor: GenerativePartnerService.ModelCatalogMonitor? let sharedToolDatabaseLock: os.OSAllocatedUnfairLock<()> var sharedToolDatabase: ToolKit.ToolDatabase? let inputSanitizer: GenerativeModels.StringRenderedPromptSanitizer let outputSanitizer: GenerativeModels.StringResponseSanitizer let observer: GenerativePartnerService.ToolKitDatabaseObserver let xpcClient: GenerativePartnerService.ExternalProviderServiceXPCClient? let tccManagingXPCClient: GenerativePartnerService.ExternalProviderTCCManagingXPCClient? let canReadWriteToGPSSharedPrefs: Swift.Bool let cacheConsistencyCheck: GenerativePartnerService.ExternalProviderService.CacheConsistencyCheck final var blockedProviderBundleIDs: Swift.Set { get } final var enabledStatusForCurrentProcess: GenerativePartnerService.ExternalProviderEnabledStatus { get } final var optedInProviderAppBundleIDs: Swift.Set { get set } final var shouldDisableAllProviders: Swift.Bool { get } final var shouldDisableAllProvidersExceptChatGPTWrapper: Swift.Bool { get } final func stopObservingExternalProviderChanges(_: any GenerativePartnerService.ExternalProvidersObserving) async final func observeExternalProviderChanges(_: any GenerativePartnerService.ExternalProvidersObserving) final func observeExternalProviderChanges(_: any GenerativePartnerService.ExternalProvidersObserving) async final func externalProviderWithToolID(_: Swift.String) async -> GenerativePartnerService.ExternalProviderService.ExternalProvider? final func externalProviderWithBundleID(_: Swift.String) async -> GenerativePartnerService.ExternalProviderService.ExternalProvider? final func externalProviderNamed(_: Swift.String) async -> GenerativePartnerService.ExternalProviderService.ExternalProvider? final func externalProviderExists(for: Swift.String) -> Swift.Bool final func externalProviderWithProviderID(_: Swift.String) async -> GenerativePartnerService.ExternalProviderService.ExternalProvider? final func installedExternalProviders() -> [GenerativePartnerService.ExternalProviderService.ExternalProvider] final func addObserver(_: any GenerativePartnerService.ExternalProvidersObserving) final func setIsOptedIn(_: Swift.Bool, for: Swift.String) final func enabledStatus(appBundleID: Swift.String) -> GenerativePartnerService.ExternalProviderEnabledStatus? final func removeObserver(_: any GenerativePartnerService.ExternalProvidersObserving) final func toolDefinition(for: Swift.String) -> ToolKit.ToolDefinition? final func enabledProviders() -> Swift.Set final func registerObserver(_: any GenerativePartnerService.GenerativePartnerServiceProvider.GenerativePartnerServiceObserving) final func externalProviders(forFeature: GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures.Feature) async -> [GenerativePartnerService.ExternalProviderService.ExternalProvider] final func externalProviders(for: Swift.String) async -> [GenerativePartnerService.ExternalProviderService.ExternalProvider] final func externalProviders() async -> [GenerativePartnerService.ExternalProviderService.ExternalProvider] final func getAppStoreMetadata(bundleID: Swift.String, locale: Swift.String?, clientIdentifier: Swift.String?) async throws -> GenerativePartnerService.ExternalProviderService.MediaTaskTestResult final func requestCompletion_v3(for: Swift.String, input: GenerativePartnerService.ExternalProviderService.Input_v3, history: GenerativePartnerService.ExternalProviderService.History_v3, configuration: GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3, approvalHandler: (any GenerativePartnerService.ExternalProviderApprovalHandler)?) -> GenerativePartnerService.ExternalProviderService.AgentIntentResponseStream_v3 final func requestCompletion_v3(for: Swift.String, input: GenerativePartnerService.ExternalProviderService.Input_v3, history: GenerativePartnerService.ExternalProviderService.History_v3, configuration: GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3) -> GenerativePartnerService.ExternalProviderService.AgentIntentResponseStream_v3 final func enabledNonVIPProviders() -> Swift.Set final func requestStringCompletion_v1(for: Swift.String, prompt: Swift.String, transcript: [Swift.String], useCase: Swift.String, parameters: Swift.String) async throws -> Swift.String final func hasEverBeenTurnedOffInSettings(bundleID: Swift.String) -> Swift.Bool final func requestMultimodalCompletion_v2(for: Swift.String, promptString: Swift.String, promptFile: AppIntents.IntentFile?, parameters: Swift.String) async throws -> GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponseStream final func setHasEverBeenTurnedOffInSettings(_: Swift.Bool, for: Swift.String) final func refreshSiriExtensionProvidersMetricsSnapshot() final func isOptedIn(bundleID: Swift.String) -> Swift.Bool static var ChatGPTAppBundleID: Swift.String { get } static var GenerativePartnerPrototypeExtension: Swift.String { get } static var GenerativePartnerPrototypeIntentChatGPT: Swift.String { get } static var GenerativePartnerPrototypeIntentMultimodalToolID_V2: Swift.String { get } static var GenerativePartnerPrototypeIntentToolID_V1: Swift.String { get } static var KnownV2ToolIDs: [Swift.String] { get } static var PacificaIntentMultimodalToolID_V2: Swift.String { get } static var PacificaIntentMultimodalToolID_V2_macOS: Swift.String { get } static var appIntentSchemaDomain: Swift.String { get } static var appIntentSchemaKind: Swift.String { get } static var shared: GenerativePartnerService.ExternalProviderService { get } static func resolvePublisherID(bundleID: Swift.String) -> Swift.String deinit } class ExternalProviderServiceMetrics {} class ExternalProviderServiceReverseClient { var client: ProactiveDaemonSupport.BidirectionalXPCServiceClientConnection? init(existingConnection: __C.NSXPCConnection, localObject: any GenerativePartnerService.ExternalProviderServiceXPCProtocol) throws final func sendProviderChange(_: Swift.String) async throws deinit } class ExternalProviderServiceXPCClient { class XPCCallbackProxy: __C.NSObject, GenerativePartnerService.ExternalProviderServiceClientXPCProtocol { weak var owner: GenerativePartnerService.ExternalProviderServiceXPCClient? } struct ConnectionState { var connection: ProactiveDaemonSupport.BidirectionalXPCServiceClientConnection? var providerChangeContinuation: Swift.AsyncStream.Continuation? var providerChangeStream: Swift.AsyncStream? } let callbackProxy: GenerativePartnerService.ExternalProviderServiceXPCClient.XPCCallbackProxy let connectionState: os.OSAllocatedUnfairLock } class GenerativePartnerService.ExternalProviderServiceXPCClient.XPCCallbackProxy: __C.NSObject, GenerativePartnerService.ExternalProviderServiceClientXPCProtocol { weak var owner: GenerativePartnerService.ExternalProviderServiceXPCClient? } class ExternalProviderTCCManagingXPCClient { var client: ProactiveDaemonSupport.XPCServiceClientConnection? } class GenerativePartnerAvailabilityStore { enum GMAvailability { case enhancedSiriOn case enhancedSiriAssetNotReady case appleIntelligenceOn case assetNotReady case usageRestricted case ineligible } enum PerProviderAvailability { case available case regionIPRestricted case otherRestricted case forciblyHidden static var hasUserEverEnabledChatGPTForV3: Swift.Bool { get } } enum UserFacingExternalAIRestrictedReason { case childAccount case parentalRestriction case deviceManagement } let _cachedAppleIntelligenceAvailability: Synchronization.Mutex let _cachedUserFacingRestrictedReason: Synchronization.Mutex let _cachedChatGPTProviderAvailability: Synchronization.Mutex final var cachedAppleIntelligenceAvailability: GenerativePartnerService.GenerativePartnerAvailabilityStore.GMAvailability { get } final var cachedChatGPTProviderAvailability: GenerativePartnerService.GenerativePartnerAvailabilityStore.PerProviderAvailability { get } final var cachedUserFacingRestrictedReason: GenerativePartnerService.GenerativePartnerAvailabilityStore.UserFacingExternalAIRestrictedReason? { get } static var shared: GenerativePartnerService.GenerativePartnerAvailabilityStore { get } deinit } class GenerativePartnerServiceProvider { enum ModelBundleError { case modelBundleNotFound case languageCodeNotFound } protocol GenerativePartnerServiceObserving: AnyObject { func selectedLLMDidChange(_: Swift.String?) func isChinaDidChange(_: Swift.Bool?) func availabilityDidChange(for: Swift.String, availability: GenerativeModels.GenerativeModelsAvailability.Availability) func agentIntentOptInStatusDidChange(optedInAppBundleIDs: Swift.Set) } var allLLMs: [any GenerativePartnerService.LLMProvider] var availableLLMs: [any GenerativePartnerService.LLMProvider] lazy var generativePartnerServiceUserDefaults: GenerativePartnerService.GenerativePartnerServiceUserDefaults? var subscribedAvailabilityIdentifiers: Swift.Set let _cachedRawPerProviderAvailability: Synchronization.Mutex<[Swift.String : GenerativePartnerService.GenerativePartnerAvailabilityStore.PerProviderAvailability]> init() var cachedRawPerProviderAvailability: [Swift.String : GenerativePartnerService.GenerativePartnerAvailabilityStore.PerProviderAvailability] { get set } func defaultLLM() -> (any GenerativePartnerService.LLMProvider)? var intendedDefaultLLM: (any GenerativePartnerService.LLMProvider)? { get } func storedSelectedLLMID() -> Swift.String func selectedLLM() -> (any GenerativePartnerService.LLMProvider)? func activateLLM(_: Swift.String) func turnOffLLM() var setupPrompts: Swift.Bool { get set } func defaultsLogString() -> Swift.String func knownBundle(for: Swift.String) throws -> TokenGeneration.ModelBundle func registerObserver(_: any GenerativePartnerService.GenerativePartnerServiceProvider.GenerativePartnerServiceObserving) func removeObserver(_: any GenerativePartnerService.GenerativePartnerServiceProvider.GenerativePartnerServiceObserving) func removeAllObservers() static var isChina: Swift.Bool { get } static var shared: GenerativePartnerService.GenerativePartnerServiceProvider { get } static func defaultLLMID() -> Swift.String deinit } class GenerativePartnerServiceUserDefaults: __C.NSObject { struct ObserverWeakReference { weak var wrapped: (any GenerativePartnerService.GenerativePartnerServiceProvider.GenerativePartnerServiceObserving)? } enum DebugSettingsKey { case showDebugUI case alwaysShowEntryPointIgnoringAvailability case useChatGPTOnlyUIForV3 case useExpandedDiscovery case mdmDebugDisallowExternalIntelligence case mdmDebugDisallowExternalIntelligenceSignIn case mdmDebugRequireExternalIntelligenceWorkspaceSignIn case mdmDebugAllowedExternalIntelligenceWorkspaceIDs } enum GPSV2Key { case selectedLLMId case AllLLMUISettings case setupPrompt case useConfirmationPrompts case isExternalIntelligenceUserChangeAllowed case gatMigrationComplete2 case isChina } struct LLMUISettings { enum Key { case enablementCount case unavailable } var enablementCount: Swift.Int var unavailable: Swift.Bool init(from: [Swift.String : Any]) init() var dictionary: [Swift.String : Any] { get } } enum AgentIntentSettingsKey { case _enabledProviderListChangeNotificationUUID case externalProvidersSHA256Hash case externalProviders case externalVipProviderMetadata case agentIntentHasEverBeenTurnedOffFromSettings case siriExtensionProvidersMetricsSnapshot } let observers: Synchronization.Mutex<[GenerativePartnerService.GenerativePartnerServiceUserDefaults.ObserverWeakReference]> let isObserving: Synchronization.Mutex @objc override init() @objc override func observeValue(forKeyPath: Swift.String?, of: Any?, change: [__C.NSKeyValueChangeKey : Any]?, context: Swift.UnsafeMutableRawPointer?) static var agentIntentHasEverBeenTurnedOffFromSettings: [Swift.String : Swift.Bool] { get set } static var alwaysShowEntryPointIgnoringAvailability: Swift.Bool { get set } static var defaults: __C.NSUserDefaults? { get } static var mdmDebugAllowedExternalIntelligenceWorkspaceIDs: [Swift.String] { get set } static var mdmDebugDisallowExternalIntelligence: Swift.Bool { get set } static var mdmDebugDisallowExternalIntelligenceSignIn: Swift.Bool { get set } static var mdmDebugRequireExternalIntelligenceWorkspaceSignIn: Swift.Bool { get set } static var showDebugUI: Swift.Bool { get set } static var suite: Swift.String { get } static var useChatGPTOnlyUIForV3: Swift.Bool { get set } static var useExpandedDiscovery: Swift.Bool { get set } static func migrateLegacyUserDefaults(from: Swift.String) static func isExternalIntelligenceUserChangeAllowed() -> Swift.Bool static func setIsExternalIntelligenceUserChangeAllowed(_: Swift.Bool) static func allUserDefaults() -> Swift.String static func setDefaults(for: Swift.String) static func resetUserDefaults() static func setIsChina(_: Swift.Bool) static func setupPrompt() -> Swift.Bool static func llmUISettings(for: Swift.String) -> GenerativePartnerService.GenerativePartnerServiceUserDefaults.LLMUISettings static func selectedLLMId() -> Swift.String static func setSetupPrompt(_: Swift.Bool, avoidUpdatingLegacyDefaults: Swift.Bool) static func enablementCount(for: Swift.String) -> Swift.Int static func allLLMUISettings() -> [Swift.String : [Swift.String : Any]] static func llmIsUnavailable(for: Swift.String) -> Swift.Bool static func resetEnableCount(for: Swift.String) static func setLLMUISettings(_: GenerativePartnerService.GenerativePartnerServiceUserDefaults.LLMUISettings, for: Swift.String) static func setSelectedLLMId(_: Swift.String, avoidUpdatingLegacyDefaults: Swift.Bool) static func externalProviders() -> [GenerativePartnerService.ExternalProviderService.ExternalProvider]? static func setEnablementCount(_: Swift.Int, for: Swift.String) static func setAllLLMUISettings(_: [Swift.String : [Swift.String : Any]]) static func setLLMIsUnavailable(_: Swift.Bool, for: Swift.String) static func setExternalProviders(_: [GenerativePartnerService.ExternalProviderService.ExternalProvider]) static func useConfirmationPrompts() -> Swift.Bool static func incrementEnablementCount(for: Swift.String) static func resetAllEnablementCounts() static func setUseConfirmationPrompts(_: Swift.Bool, avoidUpdatingLegacyDefaults: Swift.Bool) static func externalProvidersSHA256Hash() -> Swift.String static func externalVipProviderMetadata() -> Foundation.Data? static func setExternalProvidersSHA256Hash(_: Swift.String) static func setExternalVipProviderMetadata(_: Foundation.Data) static func notifyEnabledProviderListObservers() static func siriExtensionProvidersMetricsSnapshot() -> [[Swift.String : Any]] static func setSiriExtensionProvidersMetricsSnapshot(_: [[Swift.String : Any]]) static func isChina() -> Swift.Bool? deinit } class ModelCatalogMonitor { var monitorTask: Swift.Task<(), Swift.Never>? let logger: os.Logger init() final func stopMonitoring() final func startMonitoring() deinit } class ResourceBundleHelper {} class SecurityScopedFileHandle { let fileURL: Foundation.URL let isAccessing: Swift.Bool let lock: __C.NSLock var didStopAccessing: Swift.Bool } class SiriGenerativeAssistantUserDefaults: __C.NSObject { enum Key { case isEnabled case setupPrompt case useConfirmationPrompts case forcedRateLimitState case enablementSessionAgentAppBundleId case selectedSiriTTSVoiceForExternalAgent case settingsVoiceSelection } @objc override init() static var debugString: Swift.String { get } static var defaults: __C.NSUserDefaults? { get } static var enablementSessionAgentAppBundleId: Swift.String? { get set } static var settingsVoiceSelection: GenerativePartnerService.VoiceSelection? { get set } static var siriCachedExternalAIVoiceValue: GenerativePartnerService.VoiceSelection? { get set } static var suite: Swift.String { get } static func updateValue(_: Swift.Bool, forKey: GenerativePartnerService.SiriGenerativeAssistantUserDefaults.Key) static func forcedRateLimitState() -> Swift.Bool? static func updateLegacyIsEnabledValue(selectedLLMId: Swift.String) static func readBool(forKey: GenerativePartnerService.SiriGenerativeAssistantUserDefaults.Key) -> Swift.Bool static func isEnabled() -> Swift.Bool deinit } class GenerativePartnerService.ToolKitDatabaseObserver.WeakObserverBox { weak var observer: (any GenerativePartnerService.ExternalProvidersObserving)? } enum GenerativePartnerService.DecodedLLMProvider.CodingKeys { case name case id case iconSymbolName case availabilityIdentifier case termsURL case termsTitle case reportURL case attributionDisplayName case associatedAppBundleIdentifier case signInAvailability case capabilitiesForOnboardingDisplay case feedbackPrefillQuestionModelMetadataString case internalConfig case countries } enum ExternalIntelligenceWorkspaceRestriction { case restriction(Swift.String) case misconfiguredEmpty case noRestriction static func from(_: [Swift.String]?) -> GenerativePartnerService.ExternalIntelligenceWorkspaceRestriction } enum ExternalProviderEnabledStatus { enum UnavailableReason { case unknown(info: Swift.String) case appleIntelligenceNotEnabled case deviceNotEligible case appleIntelligenceAssetsNotReady case restricted var debugDescription: Swift.String { get } } case unavailable(GenerativePartnerService.ExternalProviderEnabledStatus.UnavailableReason) case enabled case notEnabled var debugDescription: Swift.String { get } } enum GenerativePartnerService.ExternalProviderEnabledStatus.UnavailableReason { case unknown(info: Swift.String) case appleIntelligenceNotEnabled case deviceNotEligible case appleIntelligenceAssetsNotReady case restricted var debugDescription: Swift.String { get } } enum GenerativePartnerService.ExternalProviderMetadata.CodingKeys { case externalProviderMetadataItems } enum GenerativePartnerService.ExternalProviderMetadataItem.CodingKeys { case bundleID case supportedFeatures case name } enum GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3 { struct SystemAssistant { var selectedText: Swift.String? init(selectedText: Swift.String?) init() } struct VisualIntelligence { init() } struct WritingTools { enum RewriteType { case magic case proofread case concise case friendly case professional case openEnded case summary case keyPoints case list case table } var type: GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.WritingTools.RewriteType var selectedText: Foundation.AttributedString var allText: Foundation.AttributedString var selectedRange: Swift.Range init(type: GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.WritingTools.RewriteType, selectedText: Foundation.AttributedString, allText: Foundation.AttributedString, selectedRange: Swift.Range) } struct ImagePlayground { var size: __C.CGSize init(size: __C.CGSize) } struct Shortcuts { enum OutputType { case text case number case boolean case date case textList case uuidList case dictionary } var outputType: GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.Shortcuts.OutputType init(outputType: GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.Shortcuts.OutputType) } case systemAssistant(GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.SystemAssistant) case visualIntelligence(GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.VisualIntelligence) case writingTools(GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.WritingTools) case imagePlayground(GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.ImagePlayground) case shortcuts(GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.Shortcuts) } enum GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.Shortcuts.OutputType { case text case number case boolean case date case textList case uuidList case dictionary } enum GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.WritingTools.RewriteType { case magic case proofread case concise case friendly case professional case openEnded case summary case keyPoints case list case table } enum GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3.Feature { case imagePlayground case shortcuts case systemAssistant case writingTools case visualIntelligence } enum GenerativePartnerService.ExternalProviderService.AgentIntentResponseStream_v3.StreamError { case serviceError(GenerativePartnerService.ExternalProviderService.ExternalProviderError) case providerError(any Swift.Error) var errorDescription: Swift.String? { get } } enum GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment { struct TextContent { let text: Swift.String init(text: Swift.String) } struct FileContent { let file: AppIntents.IntentFile let id: Swift.String? let scopedHandle: GenerativePartnerService.SecurityScopedFileHandle? init(file: AppIntents.IntentFile, id: Swift.String?) } struct EntityContent { let appEntity: any AppIntents.AppEntity init(appEntity: A) where A: AppIntents.AppEntity } struct StatusContent { let status: Swift.String let progress: Swift.Double? init(status: Swift.String, progress: Swift.Double) init(status: Swift.String) } struct ContinuationURLContent { let url: Foundation.URL init(url: Foundation.URL) } struct EntityValueContent { let entityValue: ToolKit.TypedValue.EntityValue init(entityValue: ToolKit.TypedValue.EntityValue) } case text(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.TextContent) case writingToolsText(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.TextContent) case file(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.FileContent) case entity(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.EntityContent) case entityValue(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.EntityValueContent) case status(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.StatusContent) case continuationURL(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.ContinuationURLContent) } enum GenerativePartnerService.ExternalProviderService.AgentIntentResult { case error(GenerativePartnerService.ExternalProviderService.ExternalProviderError) case finished case yield } enum GenerativePartnerService.ExternalProviderService.AgentIntentResult_v3 { case needsFollowUp(message: Swift.String) case handledRequestWithURL(openUrlIntent: AppIntents.OpenURLIntent?) case needsFollowUpWithURL(message: Swift.String, openUrlIntent: AppIntents.OpenURLIntent?) case handledRequest case unableToHandle } enum GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures.CodingKeys { case features } enum GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures.Feature { case imagePlayground case shortcuts case systemAssistant case writingTools case visualIntelligence } enum GenerativePartnerService.ExternalProviderService.AppBundleUtils { static func isAppInstalled(bundleID: Swift.String) -> Swift.Bool static func appHasEntitlement(bundleID: Swift.String, key: Swift.String) -> Swift.Bool } enum GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment { struct TextContent { let text: Swift.String init(text: Swift.String) } struct FileContent { let file: AppIntents.IntentFile init(file: AppIntents.IntentFile) } struct EntityContent { let appEntity: any AppIntents.AppEntity init(appEntity: A) where A: AppIntents.AppEntity } case text(GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment.TextContent) case file(GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment.FileContent) case entity(GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment.EntityContent) } enum GenerativePartnerService.ExternalProviderService.ExternalProvider.CodingKeys { case providerID case name case agentIntentSupportedFeatures case appBundleID case isVip case isAppInstalled } enum GenerativePartnerService.ExternalProviderService.ExternalProviderError { case internalError(context: Swift.String) case permissionLocation(precise: Swift.Bool) case toolNotAvailable case enhancedSiriUnavailable case externalIntelligenceNotAllowed case timeout case inputRejectedByDenyList case outputRejectedByDenyList case unknownError case networkFailure case partialFailure case notAllowed case unsupportedOnDevice case featureCurrentlyRestricted case entityNotFound case usageLimitExceeded case unsupportedFileType case permissionSiri case permissionLocalNetwork case permissionBluetooth case permissionPhotos case permissionContacts case signIn case accountSetup case confirmation var errorDescription: Swift.String? { get } } enum GenerativePartnerService.ExternalProviderService.FeatureAvailability { case unavailable(GenerativePartnerService.ExternalProviderEnabledStatus.UnavailableReason) case available } enum GenerativePartnerService.ExternalProviderService.Input_v3.Item { struct TextContent { let text: Swift.String init(text: Swift.String) } struct FileContent { let file: AppIntents.IntentFile init(file: AppIntents.IntentFile) } struct EntityContent { let appEntity: any AppIntents.AppEntity init(appEntity: A) where A: AppIntents.AppEntity } struct FileValueContent { let file: ToolKit.TypedValue init(file: ToolKit.TypedValue) } case text(GenerativePartnerService.ExternalProviderService.Input_v3.Item.TextContent) case file(GenerativePartnerService.ExternalProviderService.Input_v3.Item.FileContent) case entity(GenerativePartnerService.ExternalProviderService.Input_v3.Item.EntityContent) case fileValue(GenerativePartnerService.ExternalProviderService.Input_v3.Item.FileValueContent) } enum ExternalProviderServiceClientXPCService { static var entitlementName: Swift.String { get set } static var interface: __C.Protocol { get set } static var logger: os.Logger { get set } static var selectorClasses: Swift.KeyValuePairs<(ObjectiveC.Selector, Swift.Int), Swift.Set> { get set } static var serviceName: Swift.String { get set } } enum ExternalProviderServiceXPCService { static var entitlementName: Swift.String { get set } static var interface: __C.Protocol { get set } static var logger: os.Logger { get set } static var selectorClasses: Swift.KeyValuePairs<(ObjectiveC.Selector, Swift.Int), Swift.Set> { get set } static var serviceName: Swift.String { get set } } enum ExternalProviderTCCManagingXPCService { static var entitlementName: Swift.String { get set } static var interface: __C.Protocol { get set } static var logger: os.Logger { get set } static var selectorClasses: Swift.KeyValuePairs<(ObjectiveC.Selector, Swift.Int), Swift.Set> { get set } static var serviceName: Swift.String { get set } } enum GenerativePartnerService.GenerativePartnerAvailabilityStore.GMAvailability { case enhancedSiriOn case enhancedSiriAssetNotReady case appleIntelligenceOn case assetNotReady case usageRestricted case ineligible } enum GenerativePartnerService.GenerativePartnerAvailabilityStore.PerProviderAvailability { case available case regionIPRestricted case otherRestricted case forciblyHidden static var hasUserEverEnabledChatGPTForV3: Swift.Bool { get } } enum GenerativePartnerService.GenerativePartnerAvailabilityStore.UserFacingExternalAIRestrictedReason { case childAccount case parentalRestriction case deviceManagement } enum GenerativePartnerFeatureFlag { static var _rawFFV3Layout: Swift.Bool { get } static var useThirdPartyAppModels: Swift.Bool { get } static var v3Layout: Swift.Bool { get } static func v3Layout(invocationSource: Swift.String) -> Swift.Bool } enum GenerativePartnerService.GenerativePartnerServiceProvider.ModelBundleError { case modelBundleNotFound case languageCodeNotFound } enum GenerativePartnerService.GenerativePartnerServiceUserDefaults.AgentIntentSettingsKey { case _enabledProviderListChangeNotificationUUID case externalProvidersSHA256Hash case externalProviders case externalVipProviderMetadata case agentIntentHasEverBeenTurnedOffFromSettings case siriExtensionProvidersMetricsSnapshot } enum GenerativePartnerService.GenerativePartnerServiceUserDefaults.DebugSettingsKey { case showDebugUI case alwaysShowEntryPointIgnoringAvailability case useChatGPTOnlyUIForV3 case useExpandedDiscovery case mdmDebugDisallowExternalIntelligence case mdmDebugDisallowExternalIntelligenceSignIn case mdmDebugRequireExternalIntelligenceWorkspaceSignIn case mdmDebugAllowedExternalIntelligenceWorkspaceIDs } enum GenerativePartnerService.GenerativePartnerServiceUserDefaults.GPSV2Key { case selectedLLMId case AllLLMUISettings case setupPrompt case useConfirmationPrompts case isExternalIntelligenceUserChangeAllowed case gatMigrationComplete2 case isChina } enum GenerativePartnerService.GenerativePartnerServiceUserDefaults.LLMUISettings.Key { case enablementCount case unavailable } enum LLMCapabilityForOnboardingDisplay { case siriIntegration case moreVisualIntelligence case writingToolsCompose case imagePlaygroundExpansion var hostProductName: Foundation.LocalizedStringResource { get } static var hasVisualIntelligenceCamera: Swift.Bool { get } static func allCapabilities(device: __C.UIUserInterfaceIdiom) -> Swift.Set } enum GenerativePartnerService.LLMProviderInternalConfig.CodingKeys { case amsBagConfigSubKey } enum SignInAvailability { enum SignInOptionalCodingKeys { case anonymousRequestsWithoutAccount } enum SignInUnavailableCodingKeys { case anonymousRequestsWithoutAccount } enum SignInRequiredCodingKeys {} enum SignInAvailabilityCodingError { case decoding(Swift.String) } enum CodingKeys { case signInOptional case signInUnavailable case signInRequired } case signInOptional(anonymousRequestsWithoutAccount: Swift.Bool) case signInUnavailable(anonymousRequestsWithoutAccount: Swift.Bool) case signInRequired var consideringMDM: GenerativePartnerService.SignInAvailability { get } } enum GenerativePartnerService.SignInAvailability.CodingKeys { case signInOptional case signInUnavailable case signInRequired } enum GenerativePartnerService.SignInAvailability.SignInAvailabilityCodingError { case decoding(Swift.String) } enum GenerativePartnerService.SignInAvailability.SignInOptionalCodingKeys { case anonymousRequestsWithoutAccount } enum GenerativePartnerService.SignInAvailability.SignInRequiredCodingKeys {} enum GenerativePartnerService.SignInAvailability.SignInUnavailableCodingKeys { case anonymousRequestsWithoutAccount } enum GenerativePartnerService.SiriGenerativeAssistantUserDefaults.Key { case isEnabled case setupPrompt case useConfirmationPrompts case forcedRateLimitState case enablementSessionAgentAppBundleId case selectedSiriTTSVoiceForExternalAgent case settingsVoiceSelection } enum TCCPrivateClientUtils { static func forceReset(service: Swift.String, for: Swift.String) static func forceAuthorize(service: Swift.String, for: Swift.String) static func authorizedBundleIdentifiers(service: Swift.String) -> [Swift.String]? } enum TCCRuntimeUtils { static func forceReset(service: Swift.String, for: Swift.String) static func forceAuthorize(service: Swift.String, for: Swift.String) static func authorizedBundleIdentifiers(service: Swift.String) -> [Swift.String] } enum TCCServiceNames { static var agentIntentBlocked: Swift.String { get } static var agentIntentUserEnabled: Swift.String { get } } enum GenerativePartnerService.VoiceSelection.CodingKeys { case name case languageCode } @objc @implementation extension __C.GPSWrapper { @objc override init() } extension GenerativePartnerService.ApprovalForwardingDialogHandler: ToolKit.ToolDialogHandler {} extension GenerativePartnerService.CancellingApprovalHandler: GenerativePartnerService.ExternalProviderApprovalHandler {} extension GenerativePartnerService.DecodedLLMProvider: GenerativePartnerService.LLMProvider {} extension GenerativePartnerService.DecodedLLMProvider: Swift.Decodable {} extension GenerativePartnerService.DecodedLLMProvider.CodingKeys: Swift.CustomDebugStringConvertible {} extension GenerativePartnerService.DecodedLLMProvider.CodingKeys: Swift.CustomStringConvertible {} extension GenerativePartnerService.DecodedLLMProvider.CodingKeys: Swift.Hashable {} extension GenerativePartnerService.DecodedLLMProvider.CodingKeys: Swift.Equatable {} extension GenerativePartnerService.DecodedLLMProvider.CodingKeys: Swift.CodingKey {} extension GenerativePartnerService.ExternalIntelligenceWorkspaceRestriction: Swift.Equatable {} extension GenerativePartnerService.ExternalProviderEnabledStatus: Swift.Hashable {} extension GenerativePartnerService.ExternalProviderEnabledStatus: Swift.Equatable {} extension GenerativePartnerService.ExternalProviderEnabledStatus: Swift.CustomDebugStringConvertible {} extension GenerativePartnerService.ExternalProviderEnabledStatus.UnavailableReason: Swift.Hashable {} extension GenerativePartnerService.ExternalProviderEnabledStatus.UnavailableReason: Swift.Equatable {} extension GenerativePartnerService.ExternalProviderEnabledStatus.UnavailableReason: Swift.CustomDebugStringConvertible {} extension GenerativePartnerService.ExternalProviderMetadata: Swift.Encodable {} extension GenerativePartnerService.ExternalProviderMetadata: Swift.Decodable {} extension GenerativePartnerService.ExternalProviderMetadata.CodingKeys: Swift.CustomDebugStringConvertible {} extension GenerativePartnerService.ExternalProviderMetadata.CodingKeys: Swift.CustomStringConvertible {} extension GenerativePartnerService.ExternalProviderMetadata.CodingKeys: Swift.Hashable {} extension GenerativePartnerService.ExternalProviderMetadata.CodingKeys: Swift.Equatable {} extension GenerativePartnerService.ExternalProviderMetadata.CodingKeys: Swift.CodingKey {} extension GenerativePartnerService.ExternalProviderMetadataItem: Swift.Equatable {} extension GenerativePartnerService.ExternalProviderMetadataItem: Swift.Encodable {} extension GenerativePartnerService.ExternalProviderMetadataItem: Swift.Decodable {} extension GenerativePartnerService.ExternalProviderMetadataItem: Swift.Hashable {} extension GenerativePartnerService.ExternalProviderMetadataItem.CodingKeys: Swift.CustomDebugStringConvertible {} extension GenerativePartnerService.ExternalProviderMetadataItem.CodingKeys: Swift.CustomStringConvertible {} extension GenerativePartnerService.ExternalProviderMetadataItem.CodingKeys: Swift.Hashable {} extension GenerativePartnerService.ExternalProviderMetadataItem.CodingKeys: Swift.Equatable {} extension GenerativePartnerService.ExternalProviderMetadataItem.CodingKeys: Swift.CodingKey {} extension GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.Shortcuts.OutputType: Swift.Equatable {} extension GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.Shortcuts.OutputType: Swift.Hashable {} extension GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.Shortcuts.OutputType: Swift.RawRepresentable { typealias RawValue = Swift.String } extension GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.WritingTools.RewriteType: Swift.Equatable {} extension GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.WritingTools.RewriteType: Swift.Hashable {} extension GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.WritingTools.RewriteType: Swift.RawRepresentable { typealias RawValue = Swift.String } extension GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3: Swift.OptionSet { typealias Element = GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3 } extension GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3: Swift.SetAlgebra { typealias Element = GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3 } extension GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3: Swift.RawRepresentable { typealias RawValue = Swift.Int } extension GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3: Swift.Equatable {} extension GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3: Swift.ExpressibleByArrayLiteral { typealias ArrayLiteralElement = GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3 } extension GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3.Feature: Swift.Equatable {} extension GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3.Feature: Swift.Hashable {} extension GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3.Feature: Swift.RawRepresentable { typealias RawValue = Swift.String } extension GenerativePartnerService.ExternalProviderService.AgentIntentResponseStream_v3: Swift.AsyncSequence { typealias AsyncIterator = Swift.AsyncThrowingStream.Iterator typealias Element = GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment typealias Failure = any Swift.Error } extension GenerativePartnerService.ExternalProviderService.AgentIntentResponseStream_v3.StreamError: Swift.Error {} extension GenerativePartnerService.ExternalProviderService.AgentIntentResponseStream_v3.StreamError: Foundation.LocalizedError {} extension GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures: Swift.Hashable {} extension GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures: Swift.Decodable {} extension GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures: Swift.Encodable {} extension GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures: Swift.Equatable {} extension GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures.CodingKeys: Swift.CustomDebugStringConvertible {} extension GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures.CodingKeys: Swift.CustomStringConvertible {} extension GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures.CodingKeys: Swift.Hashable {} extension GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures.CodingKeys: Swift.Equatable {} extension GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures.CodingKeys: Swift.CodingKey {} extension GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures.Feature: Swift.Equatable {} extension GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures.Feature: Swift.Hashable {} extension GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures.Feature: Swift.RawRepresentable { typealias RawValue = Swift.String } extension GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures.Feature: Swift.Decodable {} extension GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures.Feature: Swift.Encodable {} extension GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponseStream: Swift.AsyncSequence { typealias AsyncIterator = GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponseStream.AsyncIterator typealias Element = GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment typealias Failure = any Swift.Error } extension GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponseStream.AsyncIterator: Swift.AsyncIteratorProtocol { typealias Element = GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment typealias Failure = any Swift.Error } extension GenerativePartnerService.ExternalProviderService.CacheConsistencyCheck: Swift.Actor {} extension GenerativePartnerService.ExternalProviderService.ExternalProvider: Swift.Hashable {} extension GenerativePartnerService.ExternalProviderService.ExternalProvider: Swift.Decodable {} extension GenerativePartnerService.ExternalProviderService.ExternalProvider: Swift.Encodable {} extension GenerativePartnerService.ExternalProviderService.ExternalProvider: Swift.CustomStringConvertible {} extension GenerativePartnerService.ExternalProviderService.ExternalProvider: Swift.Equatable {} extension GenerativePartnerService.ExternalProviderService.ExternalProvider.CodingKeys: Swift.CustomDebugStringConvertible {} extension GenerativePartnerService.ExternalProviderService.ExternalProvider.CodingKeys: Swift.CustomStringConvertible {} extension GenerativePartnerService.ExternalProviderService.ExternalProvider.CodingKeys: Swift.RawRepresentable { typealias RawValue = Swift.String } extension GenerativePartnerService.ExternalProviderService.ExternalProvider.CodingKeys: Swift.Hashable {} extension GenerativePartnerService.ExternalProviderService.ExternalProvider.CodingKeys: Swift.Equatable {} extension GenerativePartnerService.ExternalProviderService.ExternalProvider.CodingKeys: Swift.CodingKey {} extension GenerativePartnerService.ExternalProviderService.ExternalProviderError: Swift.Error {} extension GenerativePartnerService.ExternalProviderService.ExternalProviderError: Foundation.LocalizedError {} extension GenerativePartnerService.ExternalProviderService.FeatureAvailability: Swift.Hashable {} extension GenerativePartnerService.ExternalProviderService.FeatureAvailability: Swift.Equatable {} extension GenerativePartnerService.ExternalProviderService.ResultSummary: Swift.Actor {} extension GenerativePartnerService.ExternalProviderServiceClientXPCService: ProactiveDaemonSupport.XPCService { typealias Interface = any GenerativePartnerService.ExternalProviderServiceClientXPCProtocol } extension GenerativePartnerService.ExternalProviderServiceReverseClient: ProactiveDaemonSupport.InitializableFromExistingConnection { typealias Service = GenerativePartnerService.ExternalProviderServiceXPCService } extension GenerativePartnerService.ExternalProviderServiceReverseClient: ProactiveDaemonSupport.BidirectionalXPCServiceClientConnectionDelegate { typealias ConnectionErrorType = ProactiveDaemonSupport.XPCServiceError } extension GenerativePartnerService.ExternalProviderServiceXPCClient: ProactiveDaemonSupport.BidirectionalXPCServiceClientConnectionDelegate { typealias ConnectionErrorType = ProactiveDaemonSupport.XPCServiceError } extension GenerativePartnerService.ExternalProviderServiceXPCService: ProactiveDaemonSupport.XPCService { typealias Interface = any GenerativePartnerService.ExternalProviderServiceXPCProtocol } extension GenerativePartnerService.ExternalProviderTCCManagingXPCClient: ProactiveDaemonSupport.XPCServiceClientConnectionDelegate { typealias ConnectionErrorType = ProactiveDaemonSupport.XPCServiceError } extension GenerativePartnerService.ExternalProviderTCCManagingXPCService: ProactiveDaemonSupport.XPCService { typealias Interface = any GenerativePartnerService.ExternalProviderTCCManagingXPCProtocol } extension GenerativePartnerService.GenerativePartnerAvailabilityStore.GMAvailability: Swift.Equatable {} extension GenerativePartnerService.GenerativePartnerAvailabilityStore.GMAvailability: Swift.Hashable {} extension GenerativePartnerService.GenerativePartnerAvailabilityStore.GMAvailability: Swift.RawRepresentable { typealias RawValue = Swift.String } extension GenerativePartnerService.GenerativePartnerAvailabilityStore.PerProviderAvailability: Swift.Equatable {} extension GenerativePartnerService.GenerativePartnerAvailabilityStore.PerProviderAvailability: Swift.Hashable {} extension GenerativePartnerService.GenerativePartnerAvailabilityStore.PerProviderAvailability: Swift.RawRepresentable { typealias RawValue = Swift.String } extension GenerativePartnerService.GenerativePartnerAvailabilityStore.UserFacingExternalAIRestrictedReason: Swift.Equatable {} extension GenerativePartnerService.GenerativePartnerAvailabilityStore.UserFacingExternalAIRestrictedReason: Swift.Hashable {} extension GenerativePartnerService.GenerativePartnerAvailabilityStore.UserFacingExternalAIRestrictedReason: Swift.RawRepresentable { typealias RawValue = Swift.String } extension GenerativePartnerService.GenerativePartnerRestrictionPolicy: GenerativePartnerService.GenerativePartnerRestricting {} extension GenerativePartnerService.GenerativePartnerServiceProvider.GenerativePartnerServiceObserving { func isChinaDidChange(_: Swift.Bool?) func selectedLLMDidChange(_: Swift.String?) func availabilityDidChange(for: Swift.String, availability: GenerativeModels.GenerativeModelsAvailability.Availability) func agentIntentOptInStatusDidChange(optedInAppBundleIDs: Swift.Set) } extension GenerativePartnerService.GenerativePartnerServiceProvider.ModelBundleError: Swift.Hashable {} extension GenerativePartnerService.GenerativePartnerServiceProvider.ModelBundleError: Swift.Equatable {} extension GenerativePartnerService.GenerativePartnerServiceProvider.ModelBundleError: Swift.Error {} extension GenerativePartnerService.GenerativePartnerServiceUserDefaults.AgentIntentSettingsKey: Swift.Equatable {} extension GenerativePartnerService.GenerativePartnerServiceUserDefaults.AgentIntentSettingsKey: Swift.Hashable {} extension GenerativePartnerService.GenerativePartnerServiceUserDefaults.AgentIntentSettingsKey: Swift.RawRepresentable { typealias RawValue = Swift.String } extension GenerativePartnerService.GenerativePartnerServiceUserDefaults.DebugSettingsKey: Swift.Equatable {} extension GenerativePartnerService.GenerativePartnerServiceUserDefaults.DebugSettingsKey: Swift.Hashable {} extension GenerativePartnerService.GenerativePartnerServiceUserDefaults.DebugSettingsKey: Swift.RawRepresentable { typealias RawValue = Swift.String } extension GenerativePartnerService.GenerativePartnerServiceUserDefaults.GPSV2Key: Swift.Equatable {} extension GenerativePartnerService.GenerativePartnerServiceUserDefaults.GPSV2Key: Swift.Hashable {} extension GenerativePartnerService.GenerativePartnerServiceUserDefaults.GPSV2Key: Swift.RawRepresentable { typealias RawValue = Swift.String } extension GenerativePartnerService.GenerativePartnerServiceUserDefaults.LLMUISettings.Key: Swift.Equatable {} extension GenerativePartnerService.GenerativePartnerServiceUserDefaults.LLMUISettings.Key: Swift.Hashable {} extension GenerativePartnerService.GenerativePartnerServiceUserDefaults.LLMUISettings.Key: Swift.RawRepresentable { typealias RawValue = Swift.String } extension GenerativePartnerService.LLMCapabilityForOnboardingDisplay: Swift.RawRepresentable { typealias RawValue = Swift.String } extension GenerativePartnerService.LLMCapabilityForOnboardingDisplay: Swift.Hashable {} extension GenerativePartnerService.LLMCapabilityForOnboardingDisplay: Swift.CaseIterable { typealias AllCases = [GenerativePartnerService.LLMCapabilityForOnboardingDisplay] } extension GenerativePartnerService.LLMCapabilityForOnboardingDisplay: Swift.Decodable {} extension GenerativePartnerService.LLMCapabilityForOnboardingDisplay: Swift.Equatable {} extension GenerativePartnerService.LLMProvider { var associatedAppBundleIdentifier: Swift.String? { get } var attributionDisplayName: Swift.String { get } var canBeEnabled: Swift.Bool { get } var enablementCount: Swift.Int { get set } var extensionsPaneDeepLink: Foundation.URL? { get } var id: Swift.String { get } var isDefaultLLM: Swift.Bool { get } var isEnabled: Swift.Bool { get } var isSelectedLLM: Swift.Bool { get } var partnerAccountUpgradeDeepLink: Foundation.URL? { get } var partnerSettingsPageDeepLink: Foundation.URL? { get } var partnerSignInPageDeepLink: Foundation.URL? { get } var requiresSignIn: Swift.Bool { get } var termsURL: Foundation.URL? { get } var useConfirmationPrompts: Swift.Bool { get set } func modelBundle() throws -> TokenGeneration.ModelBundle func availability(forLanguage: GenerativeModels.GenerativeModelsAvailability.LanguageOption) -> GenerativeModels.GenerativeModelsAvailability.Availability func localizedTermsTitle(gpsUIBundleDescription: Foundation.LocalizedStringResource.BundleDescription) -> Swift.String func localizedAttributionDisplayName() -> Swift.String } extension GenerativePartnerService.LLMProviderInternalConfig: Swift.Decodable {} extension GenerativePartnerService.LLMProviderInternalConfig: Swift.Encodable {} extension GenerativePartnerService.LLMProviderInternalConfig.CodingKeys: Swift.CustomDebugStringConvertible {} extension GenerativePartnerService.LLMProviderInternalConfig.CodingKeys: Swift.CustomStringConvertible {} extension GenerativePartnerService.LLMProviderInternalConfig.CodingKeys: Swift.Hashable {} extension GenerativePartnerService.LLMProviderInternalConfig.CodingKeys: Swift.Equatable {} extension GenerativePartnerService.LLMProviderInternalConfig.CodingKeys: Swift.CodingKey {} extension GenerativePartnerService.SignInAvailability: Swift.Decodable {} extension GenerativePartnerService.SignInAvailability: Swift.Encodable {} extension GenerativePartnerService.SignInAvailability: Swift.Equatable {} extension GenerativePartnerService.SignInAvailability.CodingKeys: Swift.CustomDebugStringConvertible {} extension GenerativePartnerService.SignInAvailability.CodingKeys: Swift.CustomStringConvertible {} extension GenerativePartnerService.SignInAvailability.CodingKeys: Swift.Hashable {} extension GenerativePartnerService.SignInAvailability.CodingKeys: Swift.Equatable {} extension GenerativePartnerService.SignInAvailability.CodingKeys: Swift.CodingKey {} extension GenerativePartnerService.SignInAvailability.SignInAvailabilityCodingError: Swift.Error {} extension GenerativePartnerService.SignInAvailability.SignInOptionalCodingKeys: Swift.CustomDebugStringConvertible {} extension GenerativePartnerService.SignInAvailability.SignInOptionalCodingKeys: Swift.CustomStringConvertible {} extension GenerativePartnerService.SignInAvailability.SignInOptionalCodingKeys: Swift.Hashable {} extension GenerativePartnerService.SignInAvailability.SignInOptionalCodingKeys: Swift.Equatable {} extension GenerativePartnerService.SignInAvailability.SignInOptionalCodingKeys: Swift.CodingKey {} extension GenerativePartnerService.SignInAvailability.SignInRequiredCodingKeys: Swift.CustomDebugStringConvertible {} extension GenerativePartnerService.SignInAvailability.SignInRequiredCodingKeys: Swift.CustomStringConvertible {} extension GenerativePartnerService.SignInAvailability.SignInRequiredCodingKeys: Swift.CodingKey {} extension GenerativePartnerService.SignInAvailability.SignInUnavailableCodingKeys: Swift.CustomDebugStringConvertible {} extension GenerativePartnerService.SignInAvailability.SignInUnavailableCodingKeys: Swift.CustomStringConvertible {} extension GenerativePartnerService.SignInAvailability.SignInUnavailableCodingKeys: Swift.Hashable {} extension GenerativePartnerService.SignInAvailability.SignInUnavailableCodingKeys: Swift.Equatable {} extension GenerativePartnerService.SignInAvailability.SignInUnavailableCodingKeys: Swift.CodingKey {} extension GenerativePartnerService.SiriGenerativeAssistantUserDefaults.Key: Swift.Equatable {} extension GenerativePartnerService.SiriGenerativeAssistantUserDefaults.Key: Swift.Hashable {} extension GenerativePartnerService.SiriGenerativeAssistantUserDefaults.Key: Swift.RawRepresentable { typealias RawValue = Swift.String } extension GenerativePartnerService.SiriVoiceAssetMetadata: Swift.Hashable {} extension GenerativePartnerService.SiriVoiceAssetMetadata: Swift.Equatable {} extension GenerativePartnerService.SiriVoiceAssetMetadata: Swift.Identifiable { typealias ID = GenerativePartnerService.VoiceSelection } extension GenerativePartnerService.SiriVoiceAssetMetadata: Swift.CustomDebugStringConvertible {} extension GenerativePartnerService.ToolKitDatabaseObserver: GenerativePartnerService.GenerativePartnerServiceProvider.GenerativePartnerServiceObserving {} extension GenerativePartnerService.ToolKitDatabaseObserver: Swift.Actor {} extension GenerativePartnerService.VoiceSelection: Swift.Decodable {} extension GenerativePartnerService.VoiceSelection: Swift.Encodable {} extension GenerativePartnerService.VoiceSelection: Swift.Hashable {} extension GenerativePartnerService.VoiceSelection: Swift.Equatable {} extension GenerativePartnerService.VoiceSelection: Swift.CustomDebugStringConvertible {} extension GenerativePartnerService.VoiceSelection.CodingKeys: Swift.CustomDebugStringConvertible {} extension GenerativePartnerService.VoiceSelection.CodingKeys: Swift.CustomStringConvertible {} extension GenerativePartnerService.VoiceSelection.CodingKeys: Swift.Hashable {} extension GenerativePartnerService.VoiceSelection.CodingKeys: Swift.Equatable {} extension GenerativePartnerService.VoiceSelection.CodingKeys: Swift.CodingKey {} extension __C.NSFileAttributeKey: @retroactive Swift._HasCustomAnyHashableRepresentation {} extension __C.NSFileAttributeKey: @retroactive Swift.RawRepresentable { typealias RawValue = Swift.String } extension __C.NSFileAttributeKey: @retroactive Swift._SwiftNewtypeWrapper {} extension __C.NSFileAttributeKey: @retroactive Swift.Equatable {} extension __C.NSFileAttributeKey: @retroactive Swift._ObjectiveCBridgeable { typealias _ObjectiveCType = __C.NSString } extension __C.NSFileAttributeKey: @retroactive Swift.Hashable {} extension __C.NSKeyValueChangeKey: @retroactive Swift._HasCustomAnyHashableRepresentation {} extension __C.NSKeyValueChangeKey: @retroactive Swift.RawRepresentable { typealias RawValue = Swift.String } extension __C.NSKeyValueChangeKey: @retroactive Swift._SwiftNewtypeWrapper {} extension __C.NSKeyValueChangeKey: @retroactive Swift.Equatable {} extension __C.NSKeyValueChangeKey: @retroactive Swift._ObjectiveCBridgeable { typealias _ObjectiveCType = __C.NSString } extension __C.NSKeyValueChangeKey: @retroactive Swift.Hashable {} extension Swift.Set { func filtered(device: __C.UIUserInterfaceIdiom) -> Swift.Set where A == GenerativePartnerService.LLMCapabilityForOnboardingDisplay } protocol ExternalProviderApprovalHandler { func requestProtectedAppApproval(bundleIdentifier: Swift.String) async -> ToolKit.AppProtectionResponse } protocol ExternalProvidersObserving: AnyObject { func changeNotification(_: Swift.String) } protocol GenerativePartnerRestricting { var isExternalPartnerAllowed: Swift.Bool { get } func signOutIfRestricted() async throws } protocol GenerativePartnerService.GenerativePartnerServiceProvider.GenerativePartnerServiceObserving: AnyObject { func selectedLLMDidChange(_: Swift.String?) func isChinaDidChange(_: Swift.Bool?) func availabilityDidChange(for: Swift.String, availability: GenerativeModels.GenerativeModelsAvailability.Availability) func agentIntentOptInStatusDidChange(optedInAppBundleIDs: Swift.Set) } protocol LLMProvider { var associatedAppBundleIdentifier: Swift.String? { get } var attributionDisplayName: Swift.String { get } var availabilityIdentifier: ModelCatalog.UseCaseIdentifier { get } var enablementCount: Swift.Int { get set } var extensionsPaneDeepLink: Foundation.URL? { get } var feedbackPrefillQuestionModelMetadataString: Swift.String { get } var iconSymbolName: Swift.String? { get } var id: Swift.String { get } var internalConfig: GenerativePartnerService.LLMProviderInternalConfig? { get } var isDefaultLLM: Swift.Bool { get } var isEnabled: Swift.Bool { get } var isSelectedLLM: Swift.Bool { get } var partnerAccountUpgradeDeepLink: Foundation.URL? { get } var partnerSettingsPageDeepLink: Foundation.URL? { get } var partnerSignInPageDeepLink: Foundation.URL? { get } var reportURL: Foundation.URL? { get } var requiresSignIn: Swift.Bool { get } var signInAvailability: GenerativePartnerService.SignInAvailability { get } var termsTitle: Swift.String? { get } var termsURL: Foundation.URL? { get } var useConfirmationPrompts: Swift.Bool { get set } func localizedDisplayName() -> Swift.String func localizedDisplayName(locale: Foundation.Locale?) -> Swift.String func modelBundle() throws -> TokenGeneration.ModelBundle func availability(forLanguage: GenerativeModels.GenerativeModelsAvailability.LanguageOption) -> GenerativeModels.GenerativeModelsAvailability.Availability } extension GenerativePartnerService.LLMProvider { var associatedAppBundleIdentifier: Swift.String? { get } var attributionDisplayName: Swift.String { get } var canBeEnabled: Swift.Bool { get } var enablementCount: Swift.Int { get set } var extensionsPaneDeepLink: Foundation.URL? { get } var id: Swift.String { get } var isDefaultLLM: Swift.Bool { get } var isEnabled: Swift.Bool { get } var isSelectedLLM: Swift.Bool { get } var partnerAccountUpgradeDeepLink: Foundation.URL? { get } var partnerSettingsPageDeepLink: Foundation.URL? { get } var partnerSignInPageDeepLink: Foundation.URL? { get } var requiresSignIn: Swift.Bool { get } var termsURL: Foundation.URL? { get } var useConfirmationPrompts: Swift.Bool { get set } func modelBundle() throws -> TokenGeneration.ModelBundle func availability(forLanguage: GenerativeModels.GenerativeModelsAvailability.LanguageOption) -> GenerativeModels.GenerativeModelsAvailability.Availability func localizedTermsTitle(gpsUIBundleDescription: Foundation.LocalizedStringResource.BundleDescription) -> Swift.String func localizedAttributionDisplayName() -> Swift.String } struct CancellingApprovalHandler {} struct DecodedLLMProvider { enum CodingKeys { case name case id case iconSymbolName case availabilityIdentifier case termsURL case termsTitle case reportURL case attributionDisplayName case associatedAppBundleIdentifier case signInAvailability case capabilitiesForOnboardingDisplay case feedbackPrefillQuestionModelMetadataString case internalConfig case countries } let name: Swift.String var id: Swift.String var iconSymbolName: Swift.String? var availabilityIdentifier: ModelCatalog.UseCaseIdentifier var termsURL: Foundation.URL? var termsTitle: Swift.String? var reportURL: Foundation.URL? var attributionDisplayName: Swift.String var associatedAppBundleIdentifier: Swift.String? var signInAvailability: GenerativePartnerService.SignInAvailability var capabilitiesForOnboardingDisplay: [GenerativePartnerService.LLMCapabilityForOnboardingDisplay] var feedbackPrefillQuestionModelMetadataString: Swift.String var internalConfig: GenerativePartnerService.LLMProviderInternalConfig? var countries: [Swift.String] func localizedDisplayName(locale: Foundation.Locale?) -> Swift.String func localizedDisplayName() -> Swift.String } struct ExternalProviderMetadata { enum CodingKeys { case externalProviderMetadataItems } let externalProviderMetadataItems: [GenerativePartnerService.ExternalProviderMetadataItem] } struct ExternalProviderMetadataItem { enum CodingKeys { case bundleID case supportedFeatures case name } var bundleID: Swift.String var supportedFeatures: [Swift.String]? var name: Swift.String? } struct GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.ImagePlayground { var size: __C.CGSize init(size: __C.CGSize) } struct GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.Shortcuts { enum OutputType { case text case number case boolean case date case textList case uuidList case dictionary } var outputType: GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.Shortcuts.OutputType init(outputType: GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.Shortcuts.OutputType) } struct GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.SystemAssistant { var selectedText: Swift.String? init(selectedText: Swift.String?) init() } struct GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.VisualIntelligence { init() } struct GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.WritingTools { enum RewriteType { case magic case proofread case concise case friendly case professional case openEnded case summary case keyPoints case list case table } var type: GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.WritingTools.RewriteType var selectedText: Foundation.AttributedString var allText: Foundation.AttributedString var selectedRange: Swift.Range init(type: GenerativePartnerService.ExternalProviderService.AgentConfiguration_v3.WritingTools.RewriteType, selectedText: Foundation.AttributedString, allText: Foundation.AttributedString, selectedRange: Swift.Range) } struct GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3 { enum Feature { case imagePlayground case shortcuts case systemAssistant case writingTools case visualIntelligence } let rawValue: Swift.Int static var imagePlayground: GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3 { get } static var shortcuts: GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3 { get } static var systemAssistant: GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3 { get } static var visualIntelligence: GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3 { get } static var writingTools: GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3 { get } } struct GenerativePartnerService.ExternalProviderService.AgentIntentResponseStream_v3 { enum StreamError { case serviceError(GenerativePartnerService.ExternalProviderService.ExternalProviderError) case providerError(any Swift.Error) var errorDescription: Swift.String? { get } } let stream: Swift.AsyncThrowingStream let resultProvider: @Sendable () async throws -> GenerativePartnerService.ExternalProviderService.AgentIntentResult_v3 var result: GenerativePartnerService.ExternalProviderService.AgentIntentResult_v3 { get } func makeAsyncIterator() -> Swift.AsyncThrowingStream.Iterator } struct GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3 { enum Segment { struct TextContent { let text: Swift.String init(text: Swift.String) } struct FileContent { let file: AppIntents.IntentFile let id: Swift.String? let scopedHandle: GenerativePartnerService.SecurityScopedFileHandle? init(file: AppIntents.IntentFile, id: Swift.String?) } struct EntityContent { let appEntity: any AppIntents.AppEntity init(appEntity: A) where A: AppIntents.AppEntity } struct StatusContent { let status: Swift.String let progress: Swift.Double? init(status: Swift.String, progress: Swift.Double) init(status: Swift.String) } struct ContinuationURLContent { let url: Foundation.URL init(url: Foundation.URL) } struct EntityValueContent { let entityValue: ToolKit.TypedValue.EntityValue init(entityValue: ToolKit.TypedValue.EntityValue) } case text(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.TextContent) case writingToolsText(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.TextContent) case file(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.FileContent) case entity(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.EntityContent) case entityValue(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.EntityValueContent) case status(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.StatusContent) case continuationURL(GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.ContinuationURLContent) } let segments: [GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment] init(segments: [GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment]) } struct GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.ContinuationURLContent { let url: Foundation.URL init(url: Foundation.URL) } struct GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.EntityContent { let appEntity: any AppIntents.AppEntity init(appEntity: A) where A: AppIntents.AppEntity } struct GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.EntityValueContent { let entityValue: ToolKit.TypedValue.EntityValue init(entityValue: ToolKit.TypedValue.EntityValue) } struct GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.FileContent { let file: AppIntents.IntentFile let id: Swift.String? let scopedHandle: GenerativePartnerService.SecurityScopedFileHandle? init(file: AppIntents.IntentFile, id: Swift.String?) } struct GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.StatusContent { let status: Swift.String let progress: Swift.Double? init(status: Swift.String, progress: Swift.Double) init(status: Swift.String) } struct GenerativePartnerService.ExternalProviderService.AgentIntentResponse_v3.Segment.TextContent { let text: Swift.String init(text: Swift.String) } struct GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures { enum Feature { case imagePlayground case shortcuts case systemAssistant case writingTools case visualIntelligence } enum CodingKeys { case features } let features: [GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures.Feature] init(features: [GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures.Feature]) init(features: [Swift.String]) func supportsFeature(_: GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures.Feature) -> Swift.Bool static func allFeatures() -> GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures } struct GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse { enum Segment { struct TextContent { let text: Swift.String init(text: Swift.String) } struct FileContent { let file: AppIntents.IntentFile init(file: AppIntents.IntentFile) } struct EntityContent { let appEntity: any AppIntents.AppEntity init(appEntity: A) where A: AppIntents.AppEntity } case text(GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment.TextContent) case file(GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment.FileContent) case entity(GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment.EntityContent) } let segments: [GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment] init(segments: [GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment]) } struct GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment.EntityContent { let appEntity: any AppIntents.AppEntity init(appEntity: A) where A: AppIntents.AppEntity } struct GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment.FileContent { let file: AppIntents.IntentFile init(file: AppIntents.IntentFile) } struct GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment.TextContent { let text: Swift.String init(text: Swift.String) } struct GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponseStream { struct AsyncIterator { var iterator: Swift.IndexingIterator<[GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment]> func next() async throws -> GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment? } let response: GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse var result: GenerativePartnerService.ExternalProviderService.AgentIntentResult { get } func makeAsyncIterator() -> GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponseStream.AsyncIterator } struct GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponseStream.AsyncIterator { var iterator: Swift.IndexingIterator<[GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment]> func next() async throws -> GenerativePartnerService.ExternalProviderService.AssistantAgentIntentResponse.Segment? } struct GenerativePartnerService.ExternalProviderService.CachedMediaTaskResult { let mediaTaskResult: GenerativePartnerService.ExternalProviderService.MediaTaskTestResult let cachedTimestamp: Swift.Int } struct GenerativePartnerService.ExternalProviderService.ExternalProvider { enum CodingKeys { case providerID case name case agentIntentSupportedFeatures case appBundleID case isVip case isAppInstalled } let providerID: Swift.String let name: Swift.String let useCases: [Swift.String] let agentIntentSupportedFeatures: GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures let appBundleID: Swift.String let isVip: Swift.Bool let isAppInstalled: Swift.Bool let implementsAgentIntent: Swift.Bool init(providerID: Swift.String, name: Swift.String, supportedFeatures: GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3, appBundleID: Swift.String, isVip: Swift.Bool) init(providerID: Swift.String, name: Swift.String, agentIntentSupportedFeatures: GenerativePartnerService.ExternalProviderService.AgentIntentSupportedFeatures, appBundleID: Swift.String, isVip: Swift.Bool, isAppInstalled: Swift.Bool) init(toolID: Swift.String, name: Swift.String, supportedFeatures: GenerativePartnerService.ExternalProviderService.AgentIntentFeatures_v3, appBundleID: Swift.String, isVip: Swift.Bool) var actuallyHasAgentIntent: Swift.Bool { get } var description: Swift.String { get } var enabledStatus: GenerativePartnerService.ExternalProviderEnabledStatus { get } var hasEverBeenTurnedOffInSettings: Swift.Bool { get } var isHidden: Swift.Bool { get } var isOptedIn: Swift.Bool { get } var isSystemChatGPTWrapper: Swift.Bool { get } var toolID: Swift.String { get } func isInstalled() -> Swift.Bool func isOnAppStore() async throws -> Swift.Bool func setIsOptedIn(_: Swift.Bool) func isAppOutOfDate() -> Swift.Bool func isAppAvailableForUse() -> Swift.Bool func isEnabled() -> Swift.Bool static func checkImplementsAgentIntent(appBundleID: Swift.String) -> Swift.Bool } struct GenerativePartnerService.ExternalProviderService.ExternalProvidersObservingEvents { static var EnhancedSiriAvailabilityDidChange: Swift.String { get } static var ExternalProvidersListChanged: Swift.String { get } static var ExternalProvidersOptInStatusDidChange: Swift.String { get } } struct GenerativePartnerService.ExternalProviderService.History_v3 { var sessionIdentifier: Swift.String init(sessionIdentifier: Swift.String) } struct GenerativePartnerService.ExternalProviderService.Input_v3 { enum Item { struct TextContent { let text: Swift.String init(text: Swift.String) } struct FileContent { let file: AppIntents.IntentFile init(file: AppIntents.IntentFile) } struct EntityContent { let appEntity: any AppIntents.AppEntity init(appEntity: A) where A: AppIntents.AppEntity } struct FileValueContent { let file: ToolKit.TypedValue init(file: ToolKit.TypedValue) } case text(GenerativePartnerService.ExternalProviderService.Input_v3.Item.TextContent) case file(GenerativePartnerService.ExternalProviderService.Input_v3.Item.FileContent) case entity(GenerativePartnerService.ExternalProviderService.Input_v3.Item.EntityContent) case fileValue(GenerativePartnerService.ExternalProviderService.Input_v3.Item.FileValueContent) } let items: [GenerativePartnerService.ExternalProviderService.Input_v3.Item] init(items: [GenerativePartnerService.ExternalProviderService.Input_v3.Item]) } struct GenerativePartnerService.ExternalProviderService.Input_v3.Item.EntityContent { let appEntity: any AppIntents.AppEntity init(appEntity: A) where A: AppIntents.AppEntity } struct GenerativePartnerService.ExternalProviderService.Input_v3.Item.FileContent { let file: AppIntents.IntentFile init(file: AppIntents.IntentFile) } struct GenerativePartnerService.ExternalProviderService.Input_v3.Item.FileValueContent { let file: ToolKit.TypedValue init(file: ToolKit.TypedValue) } struct GenerativePartnerService.ExternalProviderService.Input_v3.Item.TextContent { let text: Swift.String init(text: Swift.String) } struct GenerativePartnerService.ExternalProviderService.MediaTaskResultItem { let itemID: Swift.String? let url: Swift.String? let name: Swift.String? let bundleId: Swift.String? let artworkURL: Swift.String? let smallestSideLength: CoreGraphics.CGFloat? let deviceFamilies: [Swift.String]? let isXROSCompatible: Swift.Bool } struct GenerativePartnerService.ExternalProviderService.MediaTaskTestResult { let items: [GenerativePartnerService.ExternalProviderService.MediaTaskResultItem] } struct GenerativePartnerService.ExternalProviderServiceXPCClient.ConnectionState { var connection: ProactiveDaemonSupport.BidirectionalXPCServiceClientConnection? var providerChangeContinuation: Swift.AsyncStream.Continuation? var providerChangeStream: Swift.AsyncStream? } struct GenerativePartnerRestrictionPolicy { let explicitConfigurationID: Swift.String? init(configurationID: Swift.String) init() var allowedExternalIntelligenceWorkspaceIDs: [Swift.String]? { get } var credentialsWorkspaceId: Swift.String? { get } var isExternalIntelligenceAllowed: Swift.Bool { get } var isExternalIntelligenceSignInAllowed: Swift.Bool { get } var isExternalPartnerAllowed: Swift.Bool { get } var isMisconfigured: Swift.Bool { get } var isSignedIn: Swift.Bool { get } var mdmExternalIntelligenceSignInRequired: Swift.Bool { get } var userNeedsToSignInToWorkspace: Swift.Bool { get } var workspaceRestriction: GenerativePartnerService.ExternalIntelligenceWorkspaceRestriction { get } func workspaceAllowed(workspaceId: Swift.String?) -> Swift.Bool func signOutIfRestricted() async throws static var shared: GenerativePartnerService.GenerativePartnerRestrictionPolicy { get } } struct GenerativePartnerService.GenerativePartnerServiceUserDefaults.LLMUISettings { enum Key { case enablementCount case unavailable } var enablementCount: Swift.Int var unavailable: Swift.Bool init(from: [Swift.String : Any]) init() var dictionary: [Swift.String : Any] { get } } struct GenerativePartnerService.GenerativePartnerServiceUserDefaults.ObserverWeakReference { weak var wrapped: (any GenerativePartnerService.GenerativePartnerServiceProvider.GenerativePartnerServiceObserving)? } struct LLMProviderInternalConfig { enum CodingKeys { case amsBagConfigSubKey } var amsBagConfigSubKey: Swift.String? } struct ProviderDeclarations { let isChina: Swift.Bool let providers: [any GenerativePartnerService.LLMProvider] func provider(id: Swift.String) -> (any GenerativePartnerService.LLMProvider)? } struct SiriVoiceAssetMetadata { var name: Swift.String var languageCode: Swift.String var debugVoiceType: Swift.String var isLocallyAvailable: Swift.Bool init?(identifier: GenerativePartnerService.VoiceSelection?) init(name: Swift.String, languageCode: Swift.String) var debugDescription: Swift.String { get } var id: GenerativePartnerService.VoiceSelection { get } } struct VoiceSelection { enum CodingKeys { case name case languageCode } var name: Swift.String var languageCode: Swift.String init(name: Swift.String, languageCode: Swift.String) var debugDescription: Swift.String { get } }