;
}
/**
* Scopes a theme to its subtree: renders ``,
* paints the theme's background, text color and font, and exposes `{ theme, mode }`
* through `useTheme()`. Providers nest — an inner provider is a self-contained island.
*/
export declare function NeoProvider({ theme, mode, as, className, children, ...rest }: NeoProviderProps): import("react").JSX.Element;
/** The nearest provider's `{ theme, mode }`, or `undefined` outside any provider. */
export declare function useTheme(): NeoContextValue | undefined;