/** * Helper functions to test if the manifest contains any generative AI indicators */ import type { Action, Manifest } from '@contentauth/c2pa-web'; /** * Graded generative-AI classification for a single manifest: * - `'generated'`: fully synthetic media (trained-algorithmic source). * - `'partial'`: partly AI-assisted (composite with trained-algorithmic media, * or a legacy generative-ai marker). * - `'none'`: action/generative assertions are present but none indicate AI. */ export type GenerativeContentLevel = 'none' | 'partial' | 'generated'; /** * Classifies the generative-AI involvement of a manifest. * * Inspects the `com.adobe.generative-ai`, `c2pa.actions` and `c2pa.actions.v2` * assertions. Returns the highest level found, `'none'` when such assertions * exist but none indicate AI, or `null` when no relevant assertions are present * at all (so callers can omit the section instead of asserting "no AI"). */ export declare function generativeContentLevel(manifest: Manifest): GenerativeContentLevel | null; /** * Returns the merged action list of a manifest, drawn from its `c2pa.actions` * and `c2pa.actions.v2` assertions (in that order), with v2 action templates * resolved so inherited fields (software agent, description, digitalSourceType) * appear directly on each action. Returns an empty array when no action * assertions are present. */ export declare function getManifestActions(manifest: Manifest): Action[]; /** * Checks whether the manifest contains any generative AI content indicators. */ export declare function containsGenerativeContent(manifest: Manifest): boolean;