package blocks import "io/fs" // BlockRegistry is the interface that plugins use to register blocks. type BlockRegistry interface { Register(meta BlockMeta, fn BlockFunc) RegisterTemplateOverride(templateKey, blockKey string, fn BlockFunc) LoadSchemasFromFS(fsys fs.FS) error }