package plugin

import (
	"github.com/ipfs/go-ipfs/core/coredag"

	node "gx/ipfs/QmYNyRZJBUYPNrLszFmrBrPJbsBh2vMsefz5gnDpB5M1P6/go-ipld-format"
)

// PluginIPLD is an interface that can be implemented to add handlers for
// for different IPLD formats
type PluginIPLD interface {
	Plugin

	RegisterBlockDecoders(dec node.BlockDecoder) error
	RegisterInputEncParsers(iec coredag.InputEncParsers) error
}
