import { ReactNode } from "react"; interface SolarState { color: string | undefined; setColor: (val: string) => void; size: string | number | undefined; setSize: (val: string | number) => void; strokeWidth: number | undefined; setStrokeWidth: (val: number) => void; secondaryColor: string | undefined; setSecondaryColor: (val: string) => void; secondaryOpacity: number | undefined; setSecondaryOpacity: (val: number) => void; } /** * Access the nearest `` state and setters. * Must be called inside a component that is a descendant of ``. * * @returns An object with current values (`color`, `size`, `strokeWidth`, etc.) * and their corresponding setters (`setColor`, `setSize`, etc.). * Changing a value updates the CSS custom properties on the provider wrapper; * icons pick up the change through the CSS cascade without re-rendering. */ export declare function useSolar(): SolarState; /** * Props for ``, the global theming wrapper for Solar icons. * Every icon inside the provider reads these values through CSS custom properties. * Values can be changed at runtime via the `useSolar()` hook. */ export interface SolarProviderProps { /** Default icon color. Sets `--solar-color` on the wrapper. */ color?: string; /** Default icon size. Accepts CSS units (`"32px"`, `"2rem"`) or a raw number (px). Sets `--solar-size`. */ size?: string | number; /** Default stroke width for Linear/Broken/LineDuotone styles. Sets `--solar-stroke-width`. */ strokeWidth?: number; /** Default secondary color for BoldDuotone/LineDuotone styles. Sets `--solar-secondary-color`. */ secondaryColor?: string; /** Default secondary opacity for duotone styles (0–1). Sets `--solar-secondary-opacity`. */ secondaryOpacity?: number; children: ReactNode; } export declare function SolarProvider({ color: initialColor, size: initialSize, strokeWidth: initialStrokeWidth, secondaryColor: initialSecondaryColor, secondaryOpacity: initialSecondaryOpacity, children }: SolarProviderProps): import("react").JSX.Element; export {};