/** Explicit adapter boundary for retired substrate read compatibility. */
export default class SubstrateCompatibilityPolicy {
    legacyContentBlobReads;
    legacyInlinePayloadReads;
    legacyPatchStorageReads;
    legacyTrustRecordBlobReads;
    constructor(fields = {}) {
        this.legacyContentBlobReads = fields.legacyContentBlobReads === true;
        this.legacyInlinePayloadReads = fields.legacyInlinePayloadReads === true;
        this.legacyPatchStorageReads = fields.legacyPatchStorageReads === true;
        this.legacyTrustRecordBlobReads = fields.legacyTrustRecordBlobReads === true;
        Object.freeze(this);
    }
}
export const CURRENT_SUBSTRATE_ONLY_POLICY = new SubstrateCompatibilityPolicy();
