import type { StateContract } from '../types/index.js'; export interface CanonicalStateReader { state(domain: string, id: string): Promise | undefined>; history(domain: string, id: string): Promise; relationships?(domain: string, id: string): Promise; } export declare function createCanonicalAdapter(contract: StateContract, reader: CanonicalStateReader): { read(domainName: string, id: string): Promise<{ status: unknown; currentAction: unknown; plan: unknown; activity: unknown[]; history: unknown[]; result: unknown; relationships: unknown[]; empty: boolean; }>; };