// Public types for the parser registry + format adapters (Epic #189, Issue #266).
//
// Adapters are pure: `(input, options) -> ParserResult`. No FS, no clock beyond a single
// injected `now()`, no randomness, no new runtime deps (still `@oscharko-dev/keiko-contracts`
// only). The runtime layer at #194 reads bytes from disk and hands them to a parser; that
// keeps parsers trivially testable with synthetic strings.
export const DEFAULT_MAX_BYTES = 32 * 1024 * 1024;
export const DEFAULT_MAX_UNITS = 50_000;
export const DEFAULT_TIMEOUT_MS = 30_000;
export const PARSER_ERROR_CODES = [
    "OVERSIZED_FILE",
    "UNIT_LIMIT_REACHED",
    "PARSER_TIMEOUT",
    "PARSER_CANCELLED",
    "MALFORMED_INPUT",
    "UNSUPPORTED_FORMAT",
];
