import type { Flow } from '../../types/flow.js'; import type { FlowDefinition } from './types.js'; export declare function flowDigest(def: FlowDefinition): Promise; /** * Digest of a live `Flow` for pinning onto a run. * * Rehydrated flows (`origin: 'definition'`) hash their stashed definition via * `flowDigest`. A definition-origin Flow with no stash is corrupted — throw, * do not silently fall back. Code-authored flows use the stable marker * `code:`: they change only with a deploy, and the digest guard is * about STORED redefinition (`addDynamicFlows` replace / catalog publish). * * sha256 is computed once per Flow object. */ export declare function digestForLiveFlow(flow: Flow): Promise;