import React from 'react'; /** * Get displayName static property from react component * * @param WrappedComponent * @return {String} */ export declare const getDisplayName: (WrappedComponent: React.ComponentType) => string; /** * Create html markup for React element tag * * @param {String} markup * @return {Object} _html object attribute markupped */ export declare const createMarkup: (markup: string) => { __html: string; }; /** * Create a context with hook useState * * @param {Any} defaultValue * @return {Array} [Context, Provider] */ export declare function createStateCtx(defaultValue: A): readonly [React.Context<{ state: A; update: React.Dispatch>; }>, (props: React.PropsWithChildren<{}>) => JSX.Element]; /** * Create a context with hook useReducer * * @param {Function} reducer * @param {Any} initialState * @return {Array} [Context, Provider] */ export declare function createReducerCtx(reducer: React.Reducer, initialState: StateType): readonly [React.Context<{ state: StateType; dispatch: React.Dispatch; }>, (props: React.PropsWithChildren<{}>) => JSX.Element];