import type { ActorRef, IntentBody, IntentInstance, IntentOrigin, SourceRef } from "./types.js"; export interface CreateIntentInstanceOptions { readonly body: IntentBody; readonly schemaHash: string; readonly projectionId: string; readonly source: SourceRef; readonly actor: ActorRef; readonly note?: string; readonly intentId?: string; } export declare function computeIntentKey(schemaHash: string, body: IntentBody): Promise; export declare function createIntentInstance(options: CreateIntentInstanceOptions): Promise; export declare function createIntentInstanceSync(body: IntentBody, intentId: string, intentKey: string, origin: IntentOrigin): IntentInstance;