import { ReactNode } from 'react'; import { SpectreProviderConfig } from './types.js'; /** * Optional context provider for global Spectre configuration. * * Wrapping your app (or a subtree) in `SpectreAuthProvider` lets all nested * `` and `` components inherit shared * defaults — API key, base URL, theme, and locale — without repeating them * on every instance. * * Props passed directly to a `` component always override the * provider's defaults. * * @example * ```tsx * * * * ``` */ export declare function SpectreAuthProvider({ children, ...config }: SpectreProviderConfig & { children: ReactNode; }): import("react/jsx-runtime").JSX.Element; /** * Internal hook to read the provider config. * Returns an empty object if no provider is in the tree. */ export declare function useSpectreConfig(): SpectreProviderConfig; //# sourceMappingURL=SpectreAuthProvider.d.ts.map