import { type CoreIndicatorName } from './indicatorRegistry';
import type { IndicatorComponent, IndicatorMap, IndicatorName } from './types';
/**
 * Resolve an indicator component from the nearest `<Theme>`.
 *
 * A core indicator always resolves. A name contributed by augmentation
 * resolves only if a theme supplies it, so that overload returns
 * `| undefined` — see {@link getIndicator}.
 *
 * @example
 * ```
 * const Checkbox = useIndicator('checkbox');
 * return <Checkbox state={isChecked ? 'checked' : 'unchecked'} size={size} />;
 * ```
 */
export declare function useIndicator<N extends CoreIndicatorName>(name: N): IndicatorComponent<IndicatorMap[N]>;
export declare function useIndicator<N extends IndicatorName>(name: N): IndicatorComponent<IndicatorMap[N]> | undefined;
//# sourceMappingURL=useIndicator.d.ts.map