import { AccessibilityActionHandlers, ComponentSlotClasses, ReactAccessibilityBehavior, ProviderContextPrepared } from '@fluentui/react-bindings'; import { ComponentSlotStylesResolved, ComponentVariablesObject, DebugData, PropsWithVarsAndStyles, ThemePrepared } from '@fluentui/styles'; import * as React from 'react'; import { Props } from '../types'; export interface RenderResultConfig
{ ElementType: React.ElementType
; classes: ComponentSlotClasses; unhandledProps: Props; variables: ComponentVariablesObject; styles: ComponentSlotStylesResolved; accessibility: ReactAccessibilityBehavior; rtl: boolean; theme: ThemePrepared; } export declare type RenderComponentCallback
= (config: RenderResultConfig
) => any; export interface RenderConfig
{
className?: string;
displayName: string;
handledProps: string[];
props: PropsWithVarsAndStyles;
state: Record ;
saveDebug: (debug: DebugData | null) => void;
isFirstRenderRef: React.MutableRefObject (config: RenderConfig , context?: ProviderContextPrepared) => React.ReactElement React.ReactElement