import type { ComponentType, FC, PropsWithChildren, ReactChild } from 'react';
import React from 'react';
import type { NodeViewRenderers } from '../../ricos-types/index.js';
import type { Decorators } from '../../ricos-viewer-next/ContentViewer/rericos/decorators/node-view-decorators.js';
type ContentTraverserContextProps = {
    nodeViewDecorators: Decorators<JSX.Element>;
    renderers: NodeViewRenderers;
    SpoilerViewerWrapper?: ComponentType<{
        className: unknown;
        width?: number;
    }>;
    children: ReactChild;
};
type ContextType = {
    nodeViewDecorators: Decorators<JSX.Element>;
    renderers: NodeViewRenderers;
    SpoilerViewerWrapper?: ComponentType<PropsWithChildren<{
        className: unknown;
        width?: number;
        type?: string;
        componentData?: object;
    }>>;
};
export declare const ContentTraverserContext: React.Context<ContextType>;
export declare const ContentTraverserContextProvider: FC<ContentTraverserContextProps>;
export {};
//# sourceMappingURL=content-traverser-context.d.ts.map