import { ReactNode } from '../../../node_modules/react'; import { FontKey } from '../../theme'; export interface UseFontReturn { fontKey: FontKey; setFont: (key: FontKey) => void; } export interface SignalContextValue { font: UseFontReturn; /** * Arbitrary consumer-provided data accessible anywhere inside the provider. * Pass via `ExotelThemeProvider`'s `contextData` prop. */ data: Record; micPermissionState: PermissionState; } export interface SignalContextProviderProps { children: ReactNode; defaultFont?: FontKey; data?: Record; } export declare function SignalContextProvider({ children, defaultFont, data, }: SignalContextProviderProps): import("react/jsx-runtime").JSX.Element; /** * Access the Signal Design System context from anywhere inside ``. * * Returns font state and any custom data passed via the `contextData` prop. */ export declare function useSignal(): SignalContextValue; /** * Shorthand hook to access font state. * Equivalent to `useSignal().font`. */ export declare function useFont(): UseFontReturn;