/** * Copyright 2022 Adobe * All Rights Reserved. * * NOTICE: Adobe permits you to use, modify, and distribute this file in * accordance with the terms of the Adobe license agreement accompanying * it. */ import { ManifestStore as ToolkitManifestStore, ValidationResults, ValidationStatus } from '@contentauth/toolkit'; import { Manifest } from './manifest'; import { CawgReport } from './lib/cawg'; export interface ManifestStore { /** * Map of all manifests included in the manifest store */ manifests: ManifestMap; /** * The active manifest in the manifest store */ activeManifest: Manifest; /** * List of validation errors */ validationStatus: ValidationStatus[]; validationResults: ValidationResults; } export interface ManifestMap { [key: string]: Manifest; } /** * Creates a facade object with convenience methods over manifest store data returned from the toolkit. * Merges a manifest store with a CAWG report from the toolkit such that each manifest has its associated CAWG data attached. * * @param config C2pa configuration object * @param manifestStoreData Manifest store data returned by the toolkit * @param cawgData Deserialized CAWG report returned by the toolkit */ export declare function createManifestStore(manifestStoreData: ToolkitManifestStore, cawgData: CawgReport): ManifestStore; //# sourceMappingURL=manifestStore.d.ts.map