type Json = Record; /** A JSON Schema (draft 2020-12) object. */ type JSONSchema = Json; /** * JSON Schema (draft 2020-12) for one CLEANED row object of these rules, i.e. what `validate()` returns in * `rows` (kr.amount as a number, dates as ISO `YYYY-MM-DD`, empty cells as null). `~standard.validate` accepts * raw input and cleans it; this schema describes the result. Only `nullable: false` columns are * `required`; unknown keys are allowed (validation ignores them). `kr.*` types carry `format: "kr-brn"` etc. * plus a pattern for the canonical form. `$row` is the 1-based Excel row number. */ declare function toJSONSchema(rules: unknown): JSONSchema; export { type JSONSchema, toJSONSchema };