// Generated by HeaderLand from iOS 27.2.1 (24B156), /System/Library/PrivateFrameworks/SecureVectorStore.framework/SecureVectorStore. // Recovered from the binary: no comments, no parameter names Swift does not keep, no availability. class ManagedRawPointer { let pointer: Swift.UnsafeMutableRawPointer let size: Swift.Int } enum FileHandlingError { case partialWrite(filename: Swift.String, expected: Swift.Int, actual: Swift.Int) case fileNotFound(filename: Swift.String) case readFailed(filename: Swift.String) case alreadyMapped case notMapped case sizeExceedsMappedRange } enum SecureVectorStore.SecureVectorStorage.ItemWrapper.CodingKeys { case itemTypeIdentifier case item } enum SecureVectorStore.SecureVectorStorageManager.Errors { case invalidStorageIndex case invalidStoragesCount } extension SecureVectorStore.DefaultFileHandler: SecureVectorStore.DeviceMemoryFileHandling {} extension SecureVectorStore.DefaultFileHandler: SecureVectorStore.FileHandlingBase {} extension SecureVectorStore.DefaultFileHandler: SecureVectorStore.NormalFileHandling {} extension SecureVectorStore.FileHandlingError: Swift.Error {} extension SecureVectorStore.JSONCodec: SecureVectorStore.Codec {} extension SecureVectorStore.PropertyListCodec: SecureVectorStore.Codec {} extension SecureVectorStore.SecureVectorStorage.ItemWrapper: Swift.Encodable {} extension SecureVectorStore.SecureVectorStorage.ItemWrapper: Swift.Decodable {} extension SecureVectorStore.SecureVectorStorage.ItemWrapper.CodingKeys: Swift.CustomDebugStringConvertible {} extension SecureVectorStore.SecureVectorStorage.ItemWrapper.CodingKeys: Swift.CustomStringConvertible {} extension SecureVectorStore.SecureVectorStorage.ItemWrapper.CodingKeys: Swift.Hashable {} extension SecureVectorStore.SecureVectorStorage.ItemWrapper.CodingKeys: Swift.Equatable {} extension SecureVectorStore.SecureVectorStorage.ItemWrapper.CodingKeys: Swift.CodingKey {} extension SecureVectorStore.SecureVectorStorageManager.Errors: Swift.Equatable {} extension SecureVectorStore.SecureVectorStorageManager.Errors: Swift.Hashable {} extension SecureVectorStore.SecureVectorStorageManager.Errors: Swift.Error {} protocol Codec { // Kind: Method, isAsync: false, isInstance: true // Kind: Method, isAsync: false, isInstance: true } protocol DeviceMemoryFileHandling: SecureVectorStore.FileHandlingBase { // Kind: BaseProtocol, isAsync: false, isInstance: false // Kind: Method, isAsync: false, isInstance: true // Kind: Method, isAsync: false, isInstance: true // Kind: Method, isAsync: false, isInstance: true } protocol FileHandlingBase { // Kind: Method, isAsync: false, isInstance: true // Kind: Method, isAsync: false, isInstance: true // Kind: Method, isAsync: false, isInstance: true // Kind: Method, isAsync: false, isInstance: true // Kind: Method, isAsync: false, isInstance: true } protocol NormalFileHandling: SecureVectorStore.FileHandlingBase { // Kind: BaseProtocol, isAsync: false, isInstance: false // Kind: Method, isAsync: false, isInstance: true // Kind: Method, isAsync: false, isInstance: true } protocol StorableItem: Swift.Decodable, Swift.Encodable { static var typeIdentifier: Swift.String { get } } struct DefaultFileHandler { let storageDirectory: Foundation.URL let mappedRange: os.OSAllocatedUnfairLock } struct DeviceMemorySecureVectorStorage { let fileHandler: any SecureVectorStore.DeviceMemoryFileHandling let ops: SecureVectorStore.StorageOperations func withMappedMemory(size: Swift.UInt64, _: (_: Swift.UnsafeMutableRawPointer) throws -> A) throws -> A func loadMapped(keys: [Foundation.UUID], size: Swift.UInt64, prepare: (_: Foundation.UUID) throws -> A?, body: (A, Swift.UnsafeMutableRawPointer) throws -> ()) throws func saveMapped(key: Foundation.UUID, size: Swift.UInt64) throws func drop(key: Foundation.UUID) throws func stop() func clear() throws func count() throws -> Swift.Int func start() throws func exists(key: Foundation.UUID) -> Swift.Bool func listKeys() throws -> [Foundation.UUID] } struct JSONCodec { let encoder: Foundation.JSONEncoder let decoder: Foundation.JSONDecoder } struct PropertyListCodec { let encoder: Foundation.PropertyListEncoder let decoder: Foundation.PropertyListDecoder } struct SecureVectorStorage { struct ItemWrapper where A: SecureVectorStore.StorableItem { enum CodingKeys { case itemTypeIdentifier case item } let itemTypeIdentifier: Swift.String let item: A } let fileHandler: any SecureVectorStore.NormalFileHandling let ops: SecureVectorStore.StorageOperations let codec: any SecureVectorStore.Codec init(baseDirectory: Foundation.URL) throws func loadForEach(keys: [Foundation.UUID], callback: (_: A) throws -> Swift.Bool) throws where A: SecureVectorStore.StorableItem func drop(key: Foundation.UUID) throws func drop(keys: [Foundation.UUID]) throws func load(key: Foundation.UUID) throws -> A? where A: SecureVectorStore.StorableItem func load(keys: [Foundation.UUID]) throws -> [A] where A: SecureVectorStore.StorableItem func save(key: Foundation.UUID, value: A) throws where A: SecureVectorStore.StorableItem func stop() func clear() throws func count() throws -> Swift.Int func start() throws func listKeys() throws -> [Foundation.UUID] } struct SecureVectorStore.SecureVectorStorage.ItemWrapper where A: SecureVectorStore.StorableItem { enum CodingKeys { case itemTypeIdentifier case item } let itemTypeIdentifier: Swift.String let item: A } struct SecureVectorStorageManager { enum Errors { case invalidStorageIndex case invalidStoragesCount } let slots: [SecureVectorStore.StorageSlot] let state: os.OSAllocatedUnfairLock init(baseDirectories: [Foundation.URL]) throws var activeIndex: Swift.Int? { get } var storagesCount: Swift.Int { get } func slot(at: Swift.Int) throws -> SecureVectorStore.StorageSlot } struct StorageOperations { let fileHandler: any SecureVectorStore.FileHandlingBase } struct StorageSlot { let normal: SecureVectorStore.SecureVectorStorage let device: SecureVectorStore.DeviceMemorySecureVectorStorage? init(normal: SecureVectorStore.SecureVectorStorage, device: SecureVectorStore.DeviceMemorySecureVectorStorage?) func stop() func start() throws }