import React, { FC, ReactNode } from 'react';
import { ComponentModel } from './models';
export declare function registerCustomComponent(name: string, component: React.ComponentType): void;
export declare type ContentTypeMapper = (contentType: string) => React.ComponentType<ComponentModel> | null;
export declare const ContentTypeMapperContextProvider: FC<{
    customMapper?: ContentTypeMapper;
}>;
export declare function ContentTypeMapperContextConsumer({ children }: {
    children: ({ contentTypeMapper }: {
        contentTypeMapper: any;
    }) => ReactNode;
}): JSX.Element;
export declare function useContentTypeMapper(): (componentModel: ComponentModel, additionalProps?: {}) => JSX.Element;
//# sourceMappingURL=content-type-mapper.d.ts.map