import { type Option, type Result } from "@tsus/runtime";export type Config = { host: string; port: number; debug: boolean; timeoutMs: Option<number>; tags: string[];};export type ConfigError = { kind: "missing" | "wrong_type" | "out_of_range"; field: string;};export const parseConfig = (raw: Record<string, unknown>): Result<Config, ConfigError> => { // TODO};