// Generated by bynkc — do not edit by hand.
// commons test

import { Ok, Err, Some, None, type Result, type Option, type ValidationError } from "./runtime.js";

export interface Counter {
  readonly count: number;
}

export const Counter = {
  increment(self: Counter): Counter {
    return { count: self.count + 1 };
  },
};

export function step(c: Counter): Counter {
  return Counter.increment(c);
}

