export function customMessage({ name, component: CustomMessageComponent, defaultProps, errorBoundary: ErrorBoundary, }: {
    name: any;
    component: any;
    defaultProps?: {} | undefined;
    errorBoundary?: (({ children }: {
        children: any;
    }) => any) | undefined;
}): {
    (props: any): JSX.Element;
    customTypeName: any;
    deserialize(msg: any): JSX.Element;
};
