import { ReactNode } from 'react';
import type { ComponentDescriptor } from '@teambit/component-descriptor';
import { ComponentModel } from '../component-model';
export type ComponentProviderProps = {
    /**
     * component model.
     */
    component: ComponentModel;
    /**
     * component children.
     */
    children: ReactNode;
};
export declare function ComponentProvider({ component, children }: ComponentProviderProps): import("react/jsx-runtime").JSX.Element;
export type ComponentDescriptorProviderProps = {
    /**
     * component model.
     */
    componentDescriptor?: ComponentDescriptor;
    /**
     * component children.
     */
    children: ReactNode;
};
export declare function ComponentDescriptorProvider({ componentDescriptor, children }: ComponentDescriptorProviderProps): import("react/jsx-runtime").JSX.Element;
