export function createMessageRendererRegistry() {
    return {};
}
export function registerMessageRenderer(registry, contentType, renderer) {
    Object.assign(registry, {
        [contentType]: renderer,
    });
    return registry;
}
export function getMessageRenderer(registry, contentType) {
    var _a;
    return (_a = registry[contentType]) === null || _a === void 0 ? void 0 : _a.component;
}
export function mergeMessageRendererRegistries(defaultRegistry, customRegistry) {
    return Object.assign(Object.assign({}, defaultRegistry), customRegistry);
}
//# sourceMappingURL=messageTypeRegistry.js.map
