/**
 * TickReceipt — immutable record of per-operation outcomes from a single patch application.
 *
 * A tick receipt captures what happened to each operation in a patch during
 * materialization: whether it was applied, superseded by a concurrent write,
 * or redundant (already present in the state).
 *
 * This is a type definition only — emission logic lives in LH/RECEIPTS/2.
 *
 * @module TickReceipt
 * @see Paper II, Section 5 — Tick receipts: event posets recording accepted/rejected matches
 */
/**
 * Valid operation types that can appear in a tick receipt.
 */
export declare const OP_TYPES: readonly string[];
/**
 * Valid result values for an operation outcome.
 */
export declare const RESULT_TYPES: readonly string[];
type OpResult = 'applied' | 'superseded' | 'redundant';
export type OpOutcome = {
    op: string;
    target: string;
    result: OpResult;
    reason?: string;
};
/**
 * TickReceipt — immutable record of per-operation outcomes from a single patch.
 */
export declare class TickReceipt {
    /** Lamport timestamp of the patch */
    readonly lamport: number;
    /** Per-operation outcomes (frozen) */
    readonly ops: ReadonlyArray<Readonly<OpOutcome>>;
    /** SHA of the patch commit */
    readonly patchSha: string;
    /** Writer ID that produced the patch */
    readonly writer: string;
    /**
     * Creates an immutable TickReceipt.
     *
     * @throws If any field is invalid
     */
    constructor({ patchSha, writer, lamport, ops }: {
        patchSha: string;
        writer: string;
        lamport: number;
        ops: OpOutcome[];
    });
}
/**
 * Creates an immutable TickReceipt.
 */
export declare function createTickReceipt({ patchSha, writer, lamport, ops }: {
    patchSha: string;
    writer: string;
    lamport: number;
    ops: OpOutcome[];
}): TickReceipt;
/**
 * Produces a deterministic JSON string for a TickReceipt.
 *
 * Keys are sorted alphabetically at every nesting level, ensuring
 * identical receipts always produce identical byte strings regardless
 * of property insertion order.
 */
export declare function canonicalJson(receipt: TickReceipt): string;
export {};
