import { type Earthstar } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/deps.ts";
const { FormatConfigType } = Earthstar;
Extracts a IFormat's config type
definition: FormatterType extends IFormat<infer _FormatType, infer _DocInputType, infer _DocType, infer ConfigType> ? ConfigType : FormatterType extends IFormat<infer _FormatType, infer _DocInputType, infer _DocType, infer ConfigType>[] ? ConfigType : never