import * as v from "../../../../../../shared/src/valita.js";
/**
 * The StatusMessage payload itself is unspecified. The `zero-cache` will
 * send the Commit payload when acknowledging a completed transaction, and
 * will echo back whatever message was sent from the ChangeSource when
 * acknowledging a downstream StatusMessage.
 */
export const statusSchema = v.object({});
export const statusMessageSchema = v.tuple([
    v.literal('status'),
    statusSchema,
    v.object({ watermark: v.string() }),
]);
//# sourceMappingURL=status.js.map