SwiftstructAppIntentsIndex

struct AppIntentsIndex.MetadataIndex

Members 108

  1. fieldlet context: AppIntentsIndex.MetadataIndex.Context
  2. fieldlet database: GRDBv7Internal.DatabasePool
  3. fieldlet logger: os.Logger
  4. funcaction(forBundleIdentifier: String, actionIdentifier: String) throws -> LNActionMetadata?
  5. funcactionIdentifiers(forBundleIdentifier: String?) throws -> [String]
  6. funcactionJSON(forBundleIdentifier: String, actionIdentifier: String) throws -> String?
  7. funcactions(forBundleIdentifier: String, andActionIdentifier: String) throws -> [LNActionMetadata]
  8. funcactions(forBundleIdentifier: String) throws -> [LNActionMetadata]
  9. funcactions(forSchemaIdentifier: String) throws -> [String : LNActionMetadata]
  10. funcactions(withFullyQualifiedIdentifiers: [LNFullyQualifiedActionIdentifier]) throws -> [String : [String : LNActionMetadata]]
  11. funcactions() throws -> [String : [String : LNActionMetadata]]
  12. funcactionsAndSystemProtocolDefaults(forBundleIdentifier: String?) throws -> [String : LNBundleActionsMetadata]
  13. funcactionsConforming(to: Set<LNSystemProtocol>, logicalType: NSCompoundPredicateType, bundleIdentifier: String?) throws -> [String : [String : LNActionMetadata]]
  14. funcactionsConforming(to: LNSystemProtocol, withParametersOfTypes: [String : LNValueType], bundleIdentifier: String?) throws -> [String : [String : LNActionMetadata]]
  15. funcactionsConformingJSON(to: Set<LNSystemProtocol>, logicalType: NSCompoundPredicateType, bundleIdentifier: String?) throws -> [String : [String : String]]
  16. funcactionsConformingJSON(to: LNSystemProtocol, withParametersOfTypes: [String : LNValueType], bundleIdentifier: String?) throws -> [String : [String : String]]
  17. funcactionsJSON(forBundleIdentifier: String, andActionIdentifier: String) throws -> [String]
  18. funcactionsJSON(forBundleIdentifier: String) throws -> [String]
  19. funcactionsJSON(forSchemaIdentifier: String) throws -> [String : String]
  20. funcactionsJSON(withFullyQualifiedIdentifiers: [LNFullyQualifiedActionIdentifier]) throws -> [String : [String : String]]
  21. funcactionsJSON() throws -> [String : [String : String]]
  22. funcappShortcutSpans(bundleIdentifier: String, identifier: String) throws -> AppIntentsIndex.AppShortcutSpanResult?
  23. funcappShortcutSpans(for: String?) throws -> [AppIntentsIndex.AppShortcutSpanResult]
  24. funcappShortcutsProviderMangledTypeName(forBundleIdentifier: String) throws -> String
  25. funcappShortcutsUnprocessed(for: String) throws -> Bool
  26. funcaudit(bundleIdentifiers: [String]) throws -> [String]
  27. funcaudit() throws -> [String]
  28. funcautoShortcuts(forBundleIdentifier: String, localeIdentifier: String) throws -> Foundation.Data
  29. funcautoShortcuts(forLocaleIdentifier: String) async throws -> [String : Foundation.Data]
  30. funcbackupDatabase(to: Foundation.URL) throws -> ()
  31. funcbundleNeedsIndexing(_: String, priority: TaskPriority) throws -> Bool
  32. funcbundleRegistered(String) throws -> Bool
  33. funcbundleRegistrations() throws -> [LNRegisteredBundleMetadata]
  34. funcbundles() throws -> [String]
  35. funcbundlesNeedingAppShortcutProcessing() throws -> Int
  36. funcbundlesNeedingIndexing() throws -> Int
  37. funcbundlesWithAppShortcuts() throws -> [String]
  38. funcdeprioritizedQueries(with: LNQueryCapabilities, inputValueType: LNValueType?, resultValueType: LNValueType?, bundleIdentifier: String?) throws -> [String : [String : LNQueryMetadata]]
  39. funcdeprioritizedQueriesJSON(with: LNQueryCapabilities, inputValueType: LNValueType?, resultValueType: LNValueType?, bundleIdentifier: String?) throws -> [String : [String : String]]
  40. funcdiagnoseBundleIdentifier(String) throws -> String
  41. funcentities(forBundleIdentifier: String) throws -> [LNEntityMetadata]
  42. funcentities(forSchemaIdentifier: String) throws -> [String : LNEntityMetadata]
  43. funcentities() throws -> [String : [String : LNEntityMetadata]]
  44. funcentitiesJSON(forBundleIdentifier: String) throws -> [String]
  45. funcentitiesJSON(forSchemaIdentifier: String) throws -> [String : String]
  46. funcentitiesJSON() throws -> [String : [String : String]]
  47. funcentity(forBundleIdentifier: String, withEntityIdentifier: String) throws -> LNEntityMetadata?
  48. funcentityIdentifiers(forBundleIdentifier: String?) throws -> [String]
  49. funcentityJSON(forBundleIdentifier: String, withEntityIdentifier: String) throws -> String?
  50. funcenum(forBundleIdentifier: String, withIdentifier: String) throws -> LNEnumMetadata?
  51. funcenumerateActions(forBundleIdentifier: String, batchSize: Int, updates: LNMetadataProviderStreamingClient) async throws -> ()
  52. funcenumerateEntities(forBundleIdentifier: String, batchSize: Int, updates: LNMetadataProviderStreamingClient) async throws -> ()
  53. funcenumerateEnums(forBundleIdentifier: String, batchSize: Int, updates: LNMetadataProviderStreamingClient) async throws -> ()
  54. funcenumerateQueries(forBundleIdentifier: String, batchSize: Int, updates: LNMetadataProviderStreamingClient) async throws -> ()
  55. funcenums(forBundleIdentifier: String) throws -> [LNEnumMetadata]
  56. funcenums(forSchemaIdentifier: String) throws -> [String : LNEnumMetadata]
  57. funcenums() throws -> [String : [String : LNEnumMetadata]]
  58. funcenumsJSON(forBundleIdentifier: String) throws -> [String]
  59. funcenumsJSON(forSchemaIdentifier: String) throws -> [String : String]
  60. funcenumsJSON() throws -> [String : [String : String]]
  61. funcexamplePhrases(forBundleIdentifier: String) throws -> [LNExamplePhraseDescription]
  62. funcgenerateBundleSummaries(block: (String, String) -> ()) throws -> ()
  63. funcgetIntentEnablements(bundleIdentifier: String) throws -> [String : LNIntentEnablement]
  64. funcinterpolateAppShortcutsForNextBundle(bundleCache: LinkMetadata.UniqueBundleCache) throws -> String?
  65. funcinterpolateAppShortcutsForNextBundle(localeIdentifier: String, bundleCache: LinkMetadata.UniqueBundleCache) throws -> String?
  66. funcissues() throws -> [String]
  67. funcmetadataVersion(forBundleIdentifier: String) throws -> LNBundleMetadataVersion
  68. funcmostLikelyInSync() -> Bool
  69. funcopenActions(forTypeIdentifier: String, bundleIdentifier: String) throws -> [LNActionMetadata]
  70. funcopenActionsJSON(forTypeIdentifier: String, bundleIdentifier: String) throws -> [String]
  71. funcopenCollectionActions(forEntityTypeIdentifier: String, capabilities: LNArrayValueTypeCapabilities, bundleIdentifier: String) throws -> [LNActionMetadata]
  72. funcopenCollectionActionsJSON(forEntityTypeIdentifier: String, capabilities: LNArrayValueTypeCapabilities, bundleIdentifier: String) throws -> [String]
  73. funcprocessMetadataForNextBundle(bundleCache: LinkMetadata.UniqueBundleCache, prebuiltMetadataProvider: LinkMetadata.PrebuiltMetadataProvider?) throws -> Result<AppIntentsIndex.MetadataIndex.IndexingResult, AppIntentsIndex.BundleIndexingFailure>?
  74. funcproperties(forIdentifiers: [Foundation.UUID]) async throws -> [Foundation.UUID : LNProperty]
  75. funcpurgeBundleWithoutReindexing(withIdentifier: String) throws -> ()
  76. funcqueries(forBundleIdentifier: String, with: LNQueryCapabilities, inputValueType: LNValueType?, resultValueType: LNValueType?) throws -> [LNQueryMetadata]
  77. funcqueries(forBundleIdentifier: String, ofType: String?) throws -> [LNQueryMetadata]
  78. funcqueries(forSchemaIdentifier: String) throws -> [String : LNQueryMetadata]
  79. funcqueries(with: LNQueryCapabilities, inputValueType: LNValueType?, resultValueType: LNValueType?) throws -> [String : [String : LNQueryMetadata]]
  80. funcqueries() throws -> [String : [String : LNQueryMetadata]]
  81. funcqueriesJSON(forBundleIdentifier: String, with: LNQueryCapabilities, inputValueType: LNValueType?, resultValueType: LNValueType?) throws -> [String]
  82. funcqueriesJSON(forBundleIdentifier: String, ofType: String?) throws -> [String]
  83. funcqueriesJSON(forSchemaIdentifier: String) throws -> [String : String]
  84. funcqueriesJSON(with: LNQueryCapabilities, inputValueType: LNValueType?, resultValueType: LNValueType?) throws -> [String : [String : String]]
  85. funcqueriesJSON() throws -> [String : [String : String]]
  86. funcquery(forBundleIdentifier: String, withFullyQualifiedIdentifier: String) throws -> LNQueryMetadata
  87. funcquery(forBundleIdentifier: String, ofType: String) throws -> LNQueryMetadata
  88. funcqueryForBundleIdentifier(_: String, queryIdentifier: String) throws -> LNQueryMetadata?
  89. funcqueryJSON(forBundleIdentifier: String, withFullyQualifiedIdentifier: String) throws -> String
  90. funcqueryJSON(forBundleIdentifier: String, ofType: String) throws -> String
  91. funcrefreshAutoShortcutSubstitution(bundleIdentifier: String, appShortcutSubstitutions: [LNAutoShortcutSubstitution], spans: [LNAppShortcutSpanData], parameterPresentationSubstitutions: [LNAutoShortcutSubstitution]) throws -> ()
  92. funcregisterBundle(withIdentifier: String, force: Bool) throws -> ()
  93. funcreleaseMemory(now: Bool) -> ()
  94. funcrelevantIntents(forBundleIdentifier: String) throws -> [LNRelevantIntent]
  95. funcrelevantIntents() throws -> [String : [LNRelevantIntent]]
  96. funcreplaceParameterWithIdentifier(action: LNAction, identifier: Foundation.UUID) throws -> LNAction
  97. funcreset() throws -> ()
  98. funcsearch(forQuery: String) throws -> LNSearchResult
  99. funcsetIntentEnablement(bundleIdentifier: String, actionIdentifier: String, enablement: LNIntentEnablement) throws -> ()
  100. funcsetPriority(_: TaskPriority, forBundle: String) throws -> ()
  101. funcsetRelevantIntents(_: [LNRelevantIntent], for: String) throws -> ()
  102. funcstats() throws -> [(String, Int)]
  103. funcstatus() throws -> [AppIntentsIndex.MetadataIndexBundleStatusProviding]
  104. funcsuggestionPhrases(forQueries: [LNAssistantSuggestionPhraseQuery]) throws -> [LNAssistantSuggestionPhraseQuery : [LNAssistantSuggestionPhrase]]
  105. funcunregisterBundle(withIdentifier: String) throws -> ()
  106. initinit(path: Foundation.URL, context: AppIntentsIndex.MetadataIndex.Context, _: (@Sendable (String) -> ())?) throws -> AppIntentsIndex.MetadataIndex
  107. varvar appShortcutInterpolator: AppIntentsIndex.AppShortcutInterpolator { get }
  108. varvar siriLanguageCode: String? { get }
struct MetadataIndex {
    struct Context {
        protocol AFPreferenceProvider {
            static var siriLanguageCode: Swift.String? {
                get
            }
        }
        var daemonRecordProvider: @Sendable () -> any Swift.IteratorProtocol<Swift.Result<LinkMetadata.DaemonRecord, AppIntentsIndex.BundleIndexingError>>
        var systemFrameworkRecordProvider: @Sendable () -> any Swift.IteratorProtocol<Swift.Result<LinkMetadata.FrameworkRecord, AppIntentsIndex.BundleIndexingError>>
        var systemExtensionProvider: @Sendable () -> any Swift.IteratorProtocol<Swift.Result<AppIntentsIndex.BundleRecord, AppIntentsIndex.BundleIndexingError>>
        var systemExtensionRecordMapper: @Sendable (_: Swift.String) -> Swift.Result<AppIntentsIndex.BundleRecord, AppIntentsIndex.BundleIndexingError>?
        var applicationProvider: @Sendable (_: Swift.Set<Swift.String>) -> any Swift.IteratorProtocol<Swift.Result<AppIntentsIndex.BundleRecord, AppIntentsIndex.BundleIndexingError>>
        var applicationRecordMapper: @Sendable (Swift.String, Swift.Set<Swift.String>) -> Swift.Result<AppIntentsIndex.BundleRecord, AppIntentsIndex.BundleIndexingError>?
        var applicationRecordProvider: @Sendable (_: Swift.String) throws -> AppIntentsIndex.AppShortcutInterpolator.ApplicationPlaceholder
        var enforceAttributedBundleExists: Swift.Bool
        var migrateUpTo: Swift.String?
        var globalVersionData: @Sendable () -> AppIntentsIndex.VersionData?
        var siriLanguageCode: @Sendable () -> Swift.String?
        var schemaLibraryHash: @Sendable () -> Swift.String

        static func default() -> AppIntentsIndex.MetadataIndex.Context
    }
    struct IndexError {
        var description: Swift.String
    }
    struct BundleProcessingInfo {
        enum CodingKeys {
            case canonicalBundle
            case sources
        }
        var canonicalBundle: AppIntentsIndex.CanonicalBundle
        var sources: [AppIntentsIndex.MetadataFileSource]
    }
    // Local type in a function or closure the binary does not name
    struct Result {
        enum CodingKeys {
            case parameterIdentifier
            case propertyJSON
        }
        var parameterIdentifier: Foundation.UUID
        var propertyJSON: Swift.String
    }
    struct Migration {
        var name: Swift.String
        var requiresRebuild: Swift.Bool
        var migration: @Sendable (_: GRDBv7Internal.Database) throws -> ()
    }
    struct IndexingResult {
        var bundleIdentifier: Swift.String
        var startDate: Foundation.Date
        var endDate: Foundation.Date
        var estimatedSize: Swift.Int
        var intentCount: Swift.Int
        var entityCount: Swift.Int
        var enumCount: Swift.Int
        var queryCount: Swift.Int

        var totalCount: Swift.Int {
            get
        }
    }
    let logger: os.Logger
    let database: GRDBv7Internal.DatabasePool
    let context: AppIntentsIndex.MetadataIndex.Context

    init(path: Foundation.URL, context: AppIntentsIndex.MetadataIndex.Context, _: (@Sendable (_: Swift.String) -> ())?) throws

    var appShortcutInterpolator: AppIntentsIndex.AppShortcutInterpolator {
        get
    }
    var siriLanguageCode: Swift.String? {
        get
    }

    func bundlesWithAppShortcuts() throws -> [Swift.String]
    func interpolateAppShortcutsForNextBundle(bundleCache: LinkMetadata.UniqueBundleCache) throws -> Swift.String?
    func interpolateAppShortcutsForNextBundle(localeIdentifier: Swift.String, bundleCache: LinkMetadata.UniqueBundleCache) throws -> Swift.String?
    func setRelevantIntents(_: [__C.LNRelevantIntent], for: Swift.String) throws
    func bundlesNeedingAppShortcutProcessing() throws -> Swift.Int
    func processMetadataForNextBundle(bundleCache: LinkMetadata.UniqueBundleCache, prebuiltMetadataProvider: (any LinkMetadata.PrebuiltMetadataProvider)?) throws -> Swift.Result<AppIntentsIndex.MetadataIndex.IndexingResult, AppIntentsIndex.BundleIndexingFailure>?
    func relevantIntents(forBundleIdentifier: Swift.String) throws -> [__C.LNRelevantIntent]
    func relevantIntents() throws -> [Swift.String : [__C.LNRelevantIntent]]
    func actionJSON(forBundleIdentifier: Swift.String, actionIdentifier: Swift.String) throws -> Swift.String?
    func entityJSON(forBundleIdentifier: Swift.String, withEntityIdentifier: Swift.String) throws -> Swift.String?
    func properties(forIdentifiers: [Foundation.UUID]) async throws -> [Foundation.UUID : __C.LNProperty]
    func actionsJSON(forBundleIdentifier: Swift.String, andActionIdentifier: Swift.String) throws -> [Swift.String]
    func actionsJSON(forBundleIdentifier: Swift.String) throws -> [Swift.String]
    func actionsJSON(forSchemaIdentifier: Swift.String) throws -> [Swift.String : Swift.String]
    func actionsJSON(withFullyQualifiedIdentifiers: [__C.LNFullyQualifiedActionIdentifier]) throws -> [Swift.String : [Swift.String : Swift.String]]
    func actionsJSON() throws -> [Swift.String : [Swift.String : Swift.String]]
    func openActions(forTypeIdentifier: Swift.String, bundleIdentifier: Swift.String) throws -> [__C.LNActionMetadata]
    func queriesJSON(forBundleIdentifier: Swift.String, with: __C.LNQueryCapabilities, inputValueType: __C.LNValueType?, resultValueType: __C.LNValueType?) throws -> [Swift.String]
    func queriesJSON(forBundleIdentifier: Swift.String, ofType: Swift.String?) throws -> [Swift.String]
    func queriesJSON(forSchemaIdentifier: Swift.String) throws -> [Swift.String : Swift.String]
    func queriesJSON(with: __C.LNQueryCapabilities, inputValueType: __C.LNValueType?, resultValueType: __C.LNValueType?) throws -> [Swift.String : [Swift.String : Swift.String]]
    func queriesJSON() throws -> [Swift.String : [Swift.String : Swift.String]]
    func setPriority(_: Swift.TaskPriority, forBundle: Swift.String) throws
    func entitiesJSON(forBundleIdentifier: Swift.String) throws -> [Swift.String]
    func entitiesJSON(forSchemaIdentifier: Swift.String) throws -> [Swift.String : Swift.String]
    func entitiesJSON() throws -> [Swift.String : [Swift.String : Swift.String]]
    func autoShortcuts(forBundleIdentifier: Swift.String, localeIdentifier: Swift.String) throws -> Foundation.Data
    func autoShortcuts(forLocaleIdentifier: Swift.String) async throws -> [Swift.String : Foundation.Data]
    func releaseMemory(now: Swift.Bool)
    func backupDatabase(to: Foundation.URL) throws
    func enumerateEnums(forBundleIdentifier: Swift.String, batchSize: Swift.Int, updates: any __C.LNMetadataProviderStreamingClient) async throws
    func examplePhrases(forBundleIdentifier: Swift.String) throws -> [__C.LNExamplePhraseDescription]
    func registerBundle(withIdentifier: Swift.String, force: Swift.Bool) throws
    func metadataVersion(forBundleIdentifier: Swift.String) throws -> __C.LNBundleMetadataVersion
    func openActionsJSON(forTypeIdentifier: Swift.String, bundleIdentifier: Swift.String) throws -> [Swift.String]
    func appShortcutSpans(bundleIdentifier: Swift.String, identifier: Swift.String) throws -> AppIntentsIndex.AppShortcutSpanResult?
    func appShortcutSpans(for: Swift.String?) throws -> [AppIntentsIndex.AppShortcutSpanResult]
    func bundleRegistered(_: Swift.String) throws -> Swift.Bool
    func enumerateActions(forBundleIdentifier: Swift.String, batchSize: Swift.Int, updates: any __C.LNMetadataProviderStreamingClient) async throws
    func enumerateQueries(forBundleIdentifier: Swift.String, batchSize: Swift.Int, updates: any __C.LNMetadataProviderStreamingClient) async throws
    func mostLikelyInSync() -> Swift.Bool
    func unregisterBundle(withIdentifier: Swift.String) throws
    func actionIdentifiers(forBundleIdentifier: Swift.String?) throws -> [Swift.String]
    func actionsConforming(to: Swift.Set<__C.LNSystemProtocol>, logicalType: __C.NSCompoundPredicateType, bundleIdentifier: Swift.String?) throws -> [Swift.String : [Swift.String : __C.LNActionMetadata]]
    func actionsConforming(to: __C.LNSystemProtocol, withParametersOfTypes: [Swift.String : __C.LNValueType], bundleIdentifier: Swift.String?) throws -> [Swift.String : [Swift.String : __C.LNActionMetadata]]
    func entityIdentifiers(forBundleIdentifier: Swift.String?) throws -> [Swift.String]
    func enumerateEntities(forBundleIdentifier: Swift.String, batchSize: Swift.Int, updates: any __C.LNMetadataProviderStreamingClient) async throws
    func suggestionPhrases(forQueries: [__C.LNAssistantSuggestionPhraseQuery]) throws -> [__C.LNAssistantSuggestionPhraseQuery : [__C.LNAssistantSuggestionPhrase]]
    func bundleNeedsIndexing(_: Swift.String, priority: Swift.TaskPriority) throws -> Swift.Bool
    func bundleRegistrations() throws -> [__C.LNRegisteredBundleMetadata]
    func setIntentEnablement(bundleIdentifier: Swift.String, actionIdentifier: Swift.String, enablement: __C.LNIntentEnablement) throws
    func deprioritizedQueries(with: __C.LNQueryCapabilities, inputValueType: __C.LNValueType?, resultValueType: __C.LNValueType?, bundleIdentifier: Swift.String?) throws -> [Swift.String : [Swift.String : __C.LNQueryMetadata]]
    func getIntentEnablements(bundleIdentifier: Swift.String) throws -> [Swift.String : __C.LNIntentEnablement]
    func actionsConformingJSON(to: Swift.Set<__C.LNSystemProtocol>, logicalType: __C.NSCompoundPredicateType, bundleIdentifier: Swift.String?) throws -> [Swift.String : [Swift.String : Swift.String]]
    func actionsConformingJSON(to: __C.LNSystemProtocol, withParametersOfTypes: [Swift.String : __C.LNValueType], bundleIdentifier: Swift.String?) throws -> [Swift.String : [Swift.String : Swift.String]]
    func openCollectionActions(forEntityTypeIdentifier: Swift.String, capabilities: __C.LNArrayValueTypeCapabilities, bundleIdentifier: Swift.String) throws -> [__C.LNActionMetadata]
    func bundlesNeedingIndexing() throws -> Swift.Int
    func appShortcutsUnprocessed(for: Swift.String) throws -> Swift.Bool
    func generateBundleSummaries(block: (Swift.String, Swift.String) -> ()) throws
    func deprioritizedQueriesJSON(with: __C.LNQueryCapabilities, inputValueType: __C.LNValueType?, resultValueType: __C.LNValueType?, bundleIdentifier: Swift.String?) throws -> [Swift.String : [Swift.String : Swift.String]]
    func diagnoseBundleIdentifier(_: Swift.String) throws -> Swift.String
    func queryForBundleIdentifier(_: Swift.String, queryIdentifier: Swift.String) throws -> __C.LNQueryMetadata?
    func openCollectionActionsJSON(forEntityTypeIdentifier: Swift.String, capabilities: __C.LNArrayValueTypeCapabilities, bundleIdentifier: Swift.String) throws -> [Swift.String]
    func purgeBundleWithoutReindexing(withIdentifier: Swift.String) throws
    func replaceParameterWithIdentifier(action: __C.LNAction, identifier: Foundation.UUID) throws -> __C.LNAction
    func refreshAutoShortcutSubstitution(bundleIdentifier: Swift.String, appShortcutSubstitutions: [__C.LNAutoShortcutSubstitution], spans: [__C.LNAppShortcutSpanData], parameterPresentationSubstitutions: [__C.LNAutoShortcutSubstitution]) throws
    func actionsAndSystemProtocolDefaults(forBundleIdentifier: Swift.String?) throws -> [Swift.String : __C.LNBundleActionsMetadata]
    func appShortcutsProviderMangledTypeName(forBundleIdentifier: Swift.String) throws -> Swift.String
    func enum(forBundleIdentifier: Swift.String, withIdentifier: Swift.String) throws -> __C.LNEnumMetadata?
    func audit(bundleIdentifiers: [Swift.String]) throws -> [Swift.String]
    func audit() throws -> [Swift.String]
    func enums(forBundleIdentifier: Swift.String) throws -> [__C.LNEnumMetadata]
    func enums(forSchemaIdentifier: Swift.String) throws -> [Swift.String : __C.LNEnumMetadata]
    func enums() throws -> [Swift.String : [Swift.String : __C.LNEnumMetadata]]
    func query(forBundleIdentifier: Swift.String, withFullyQualifiedIdentifier: Swift.String) throws -> __C.LNQueryMetadata
    func query(forBundleIdentifier: Swift.String, ofType: Swift.String) throws -> __C.LNQueryMetadata
    func reset() throws
    func stats() throws -> [(Swift.String, Swift.Int)]
    func action(forBundleIdentifier: Swift.String, actionIdentifier: Swift.String) throws -> __C.LNActionMetadata?
    func entity(forBundleIdentifier: Swift.String, withEntityIdentifier: Swift.String) throws -> __C.LNEntityMetadata?
    func issues() throws -> [Swift.String]
    func search(forQuery: Swift.String) throws -> __C.LNSearchResult
    func status() throws -> [any AppIntentsIndex.MetadataIndexBundleStatusProviding]
    func actions(forBundleIdentifier: Swift.String, andActionIdentifier: Swift.String) throws -> [__C.LNActionMetadata]
    func actions(forBundleIdentifier: Swift.String) throws -> [__C.LNActionMetadata]
    func actions(forSchemaIdentifier: Swift.String) throws -> [Swift.String : __C.LNActionMetadata]
    func actions(withFullyQualifiedIdentifiers: [__C.LNFullyQualifiedActionIdentifier]) throws -> [Swift.String : [Swift.String : __C.LNActionMetadata]]
    func actions() throws -> [Swift.String : [Swift.String : __C.LNActionMetadata]]
    func bundles() throws -> [Swift.String]
    func queries(forBundleIdentifier: Swift.String, with: __C.LNQueryCapabilities, inputValueType: __C.LNValueType?, resultValueType: __C.LNValueType?) throws -> [__C.LNQueryMetadata]
    func queries(forBundleIdentifier: Swift.String, ofType: Swift.String?) throws -> [__C.LNQueryMetadata]
    func queries(forSchemaIdentifier: Swift.String) throws -> [Swift.String : __C.LNQueryMetadata]
    func queries(with: __C.LNQueryCapabilities, inputValueType: __C.LNValueType?, resultValueType: __C.LNValueType?) throws -> [Swift.String : [Swift.String : __C.LNQueryMetadata]]
    func queries() throws -> [Swift.String : [Swift.String : __C.LNQueryMetadata]]
    func entities(forBundleIdentifier: Swift.String) throws -> [__C.LNEntityMetadata]
    func entities(forSchemaIdentifier: Swift.String) throws -> [Swift.String : __C.LNEntityMetadata]
    func entities() throws -> [Swift.String : [Swift.String : __C.LNEntityMetadata]]
    func enumsJSON(forBundleIdentifier: Swift.String) throws -> [Swift.String]
    func enumsJSON(forSchemaIdentifier: Swift.String) throws -> [Swift.String : Swift.String]
    func enumsJSON() throws -> [Swift.String : [Swift.String : Swift.String]]
    func queryJSON(forBundleIdentifier: Swift.String, withFullyQualifiedIdentifier: Swift.String) throws -> Swift.String
    func queryJSON(forBundleIdentifier: Swift.String, ofType: Swift.String) throws -> Swift.String
}