import React from "react"; import { type useShakeAnimation } from "../hooks/useShakeAnimation"; type ShakeControl = ReturnType; interface ShakeFieldProps { shake: ShakeControl; label?: string; children: React.ReactNode; flashRadius?: number; /** When `false`, only the red flash runs — no rotation. Defaults to `true`. */ rotate?: boolean; } /** * Wraps a form field so it can shake + flash red when validation fails. * The label renders outside the shake wrapper so only the input rocks. */ export default function ShakeField({ shake, label, children, flashRadius, rotate, }: ShakeFieldProps): React.JSX.Element; export {}; //# sourceMappingURL=shake-field.d.ts.map