import React from 'react'; import { ComponentLookupErrorDetail } from '../services/types'; export interface StrataProviderProps { url?: string; enableRealtime?: boolean; pollInterval?: number; projectId?: string; /** Authentication token for the Strata project (starts with `pt_live_`). */ projectToken?: string; syncEnabled?: boolean; children: React.ReactNode; onSync?: (data: any) => void; onError?: (error: Error) => void; onConnected?: () => void; onDisconnected?: () => void; onComponentLookupError?: (detail: ComponentLookupErrorDetail) => void; } export interface StrataDynamicProps { component: string; props?: Record; syncEnabled?: boolean; className?: string; style?: React.CSSProperties; onLoad?: () => void; onError?: (error: Error) => void; } export const StrataProvider: React.FC; export const StrataDynamic: React.FC;