import type { BlockSection } from "@milaboratories/pl-model-common"; type OnlyString = S extends string ? S : ""; export type DeriveHref = S extends readonly BlockSection[] ? OnlyString["href"]> : never;