import { type Earthstar } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/deps.ts";
const { FormatDocType } = Earthstar;
Extracts a IFormat's document type, e.g. DocEs5
definition: FormatterType extends IFormat<infer _FormatType, infer _DocInputType, infer DocType, infer _ConfigType> ? DocType : FormatterType extends IFormat<infer _FormatType, infer _DocInputType, infer DocType, infer _ConfigType>[] ? DocType : never