import { type Result } from "@tsus/runtime";export type AmountError = { kind: "invalid_amount"; input: string } | { kind: "too_large" };/** Returns integer cents. */export const parseAmount = (text: string): Result<number, AmountError> => { // TODO};