{
  "schemaVersion": 1,
  "package": "@fayegram-ai/faye-ui",
  "moduleGroup": "hooks",
  "entry": "@fayegram-ai/faye-ui/hooks/scroll-trigger",
  "source": "packages/hooks/src/scroll-trigger.ts",
  "clientBoundary": true,
  "declarations": [
    {
      "name": "ScrollTriggerOptions",
      "kind": "InterfaceDeclaration",
      "signature": "export interface ScrollTriggerOptions {\n    target?: Window | HTMLElement | null;\n    targetRef?: RefObject<HTMLElement | null>;\n    threshold?: number;\n    /** Distance required before changing direction, to avoid jitter. */\n    hysteresis?: number;\n    /** Force an immediate scroll in a custom motion policy outside a Faye UI theme. */\n    reducedMotion?: boolean;\n}",
      "members": [
        {
          "name": "target",
          "optional": true,
          "type": "Window | HTMLElement | null"
        },
        {
          "name": "targetRef",
          "optional": true,
          "type": "RefObject<HTMLElement | null>"
        },
        {
          "name": "threshold",
          "optional": true,
          "type": "number"
        },
        {
          "name": "hysteresis",
          "optional": true,
          "type": "number"
        },
        {
          "name": "reducedMotion",
          "optional": true,
          "type": "boolean"
        }
      ],
      "line": 3
    },
    {
      "name": "useScrollTrigger",
      "kind": "FunctionDeclaration",
      "signature": "export function useScrollTrigger({ target, targetRef, threshold = 64, hysteresis = 8, reducedMotion = false }: ScrollTriggerOptions = {})",
      "line": 13
    }
  ],
  "typesComplete": false,
  "typeScope": "Explicit source declarations plus dependency-resolved emitted exports. Full inherited/generic restrictions remain authoritative in installed declarations.",
  "compiledExports": [
    {
      "name": "useScrollTrigger",
      "kind": "value",
      "type": "({ target, targetRef, threshold, hysteresis, reducedMotion }?: ScrollTriggerOptions) => { scrollToTop: (behavior?: ScrollBehavior) => void; offset: number; direction: \"up\" | \"down\"; triggered: boolean; scrolled: boolean; }",
      "description": "Server starts at the top; subscribe to the window or a mounted, stable scroll container."
    },
    {
      "name": "ScrollTriggerOptions",
      "kind": "type",
      "type": "ScrollTriggerOptions",
      "description": ""
    }
  ],
  "declaration": "packages/faye-ui/dist/hooks/scroll-trigger.d.ts"
}
