docx-validate
    Preparing search index...

    Type Alias AstAdapter

    Optional dependency injected by jubarte-first. When provided, Measure runs the full read→write→re-read pipeline and classifies into the five spec buckets. When omitted (default), Measure falls back to a structural validity check.

    type AstAdapter = {
        read: (
            bytes: Uint8Array,
        ) => Promise<
            {
                ast: unknown;
                bodyBailoutCount: number;
                t2ElementCarrierCount: number;
            },
        >;
        write: (ast: unknown) => Promise<Uint8Array>;
    }
    Index
    read: (
        bytes: Uint8Array,
    ) => Promise<
        {
            ast: unknown;
            bodyBailoutCount: number;
            t2ElementCarrierCount: number;
        },
    >
    write: (ast: unknown) => Promise<Uint8Array>