import { type Ref, type RefCallback } from "react"; import type { View as RNView } from "react-native"; import type { TonalGroundWarningParams } from "./useTonalGroundWarningRef"; export type { TonalGroundWarningParams } from "./useTonalGroundWarningRef"; /** * Forwards `ref`, and warns outside production when a `tonal` pressable rests * on the very ground it is painted with, so that only its shadow still sets it * apart: an accented one on its own accented surface in light mode, a neutral * one on a white `bg-highlight` panel. * * The returned callback depends on `ref` alone, as passing `ref` straight * through would: a state change (disabled, loading) re-runs the check without * detaching and re-attaching the caller's ref. */ export declare function useTonalGroundWarningRef(ref: Ref | undefined, { variant, disabled, forced }: TonalGroundWarningParams): RefCallback; //# sourceMappingURL=useTonalGroundWarningRef.web.d.ts.map