/** * @copyright * (c) 2026 netTrek GmbH & Co. KG * * Selects the C2PA engine at runtime: * * - **WASM** (@contentauth/c2pa-web) — the default. Used whenever the experimental * WebCrypto engine is not enabled, or when `crypto.subtle` is unavailable. * - **WebCrypto** (@nettrek/c2pa-web-crypto) — experimental, opt-in via * `config.enableExperimentalWebCrypto`. Used where `crypto.subtle` is available; * lightweight, no WASM/worker. Per-asset, if it throws on an input it doesn't * support, that asset falls back to the WASM engine (logged). */ import type { Settings } from '@contentauth/c2pa-web'; import { type C2paEngine } from './C2paEngine'; import { type C2PAConfig } from '../C2paBridge'; type Log = (...args: any[]) => void; /** Creates the C2PA engine for the given config + resolved trust settings. */ export declare function createEngine(config: C2PAConfig, settings: Settings | undefined, log: Log): Promise; export {};