import { isSection } from "https://deno.land/x/live@1.36.6/blocks/section.ts";
type
<K extends keyof TManifest["sections"], Sec extends TManifest["sections"][K] extends { default: (props: infer Props) => JSX.Element | null; } ? PreactComponent<JSX.Element, Props> : unknown, TManifest extends DecoManifest = Manifest>(s: Sec | Section, section: K) => s is Sec