import { default as React } from 'react'; import { ThemeEngine } from '../../../types/theme'; /** * Resolves an @vpdev2/ui component by candidate export names, or null when the VeroCompliance * engine is inactive / not yet loaded. Primitives read this instead of importing the adapter * directly, so the default (`verocompliance`) build never pulls in @vpdev2/ui or its global CSS — * the adapter chunk is loaded lazily only when the VeroCompliance engine is selected. */ export type VeroComplianceComponentResolver = (candidates: string[]) => React.ComponentType | null; export declare const useThemeEngine: () => ThemeEngine; /** True when primitives should render via @vpdev2/ui. */ export declare const useIsVeroComplianceEngine: () => boolean; /** * Returns the @vpdev2/ui component matching one of `candidates`, or null so the caller * falls back to the SDK's own primitive. Null whenever the VeroCompliance engine isn't active. */ export declare function useVeroComplianceComponent(candidates: string[]): React.ComponentType | null; export declare const ThemeEngineProvider: React.FC<{ engine: ThemeEngine; children: React.ReactNode; }>; /** Used by the lazily-loaded adapter to publish its component resolver to the primitives. */ export declare const VeroComplianceRegistryProvider: React.FC<{ resolve: VeroComplianceComponentResolver; children: React.ReactNode; }>; //# sourceMappingURL=engine-context.d.ts.map