import { type ReactNode } from 'react'; import { type HapticKind } from './hapticTap'; export type { HapticKind } from './hapticTap'; /** * A short tactile tap confirming a discrete input, such as a keypad press. * Called with `'error'` for refused input (deleting from empty, typing past a * limit), which the default implementation answers with a heavier buzz. * * Taps are part of the design rather than a garnish, so the SDK provides them * itself from the optional `react-native-haptic-feedback` peer — see * {@link hapticTap}. Hosts on another module (`expo-haptics` in Expo Go), or * wanting silence, pass their own through `FunkitProvider` — one that ignores * the kind still works, it just answers everything with the same tap. */ export type HapticFeedback = (kind?: HapticKind) => void | Promise; export declare function FunkitHapticsProvider({ hapticFeedback, children, }: { hapticFeedback?: HapticFeedback; children: ReactNode; }): import("react").JSX.Element; /** * Fire-and-forget haptics. A host's native module must never take a keypress * down with it, so a throw or a rejection is swallowed — the key still registers * and the amount still changes. */ export declare function useHapticFeedback(): (kind?: HapticKind) => void; //# sourceMappingURL=HapticsContext.d.ts.map