/** * TanStack DevTools Plugin * * Provides c15t integration for TanStack DevTools * * @example * ```tsx * import { TanStackDevtools } from '@tanstack/react-devtools'; * import { c15tDevtoolsPlugin } from '@c15t/dev-tools/tanstack'; * * function App() { * return ( * <> * * * * ); * } * ``` * * @packageDocumentation */ /** * TanStack DevTools plugin interface */ export interface DevToolsPlugin { name: string; label: string; render: (container: HTMLElement) => () => void; } /** * Options for the c15t DevTools plugin */ export interface C15tDevtoolsPluginOptions { /** * Namespace for the c15tStore on window * @default 'c15tStore' */ namespace?: string; } /** * Creates a c15t plugin for TanStack DevTools */ export declare function c15tDevtoolsPlugin(options?: C15tDevtoolsPluginOptions): DevToolsPlugin; export type { DevToolsPosition, DevToolsTab } from './core/state-manager';