import { type ReactNode } from 'react'; import { type ResolvedFunnelRuntimeConfig } from '../services/funnel-runtime-config.js'; export type FunnelRuntimeConfigState = { status: 'loading' | 'published' | 'fallback'; config: ResolvedFunnelRuntimeConfig | null; error: Error | null; featureFlags?: Record; }; type FunnelRuntimeConfigBoundaryProps = { funnelId: string; funnelVersionId?: string; children: ReactNode; loadingFallback?: ReactNode; errorFallback?: ReactNode; disabled?: boolean; }; export declare const FUNNEL_RUNTIME_CONFIG_REFRESH_INTERVAL_MS = 5000; export declare function FunnelRuntimeConfigBoundary({ disabled, ...props }: FunnelRuntimeConfigBoundaryProps): import("react/jsx-runtime").JSX.Element; export declare const useFunnelRuntimeConfig: () => FunnelRuntimeConfigState; export {};