import { BasePlugin, PluginConfig, PluginHooks } from '@onboardjs/core'; import { OnboardingContext } from '@onboardjs/core'; export interface ReactPluginConfig extends PluginConfig { /** * Whether this plugin should be automatically installed when the provider mounts */ autoInstall?: boolean; } export interface ReactPluginHooks extends PluginHooks { /** * Called when the React component tree mounts */ onReactMount?: () => void | Promise; /** * Called when the React component tree unmounts */ onReactUnmount?: () => void | Promise; } export declare abstract class ReactPlugin extends BasePlugin { protected getHooks(): ReactPluginHooks; /** * Override to provide React-specific hooks */ protected getReactHooks(): ReactPluginHooks; /** * Helper method to check if we're in a React environment */ protected isReactEnvironment(): boolean; }