{
  "schemaVersion": 1,
  "package": "@fayegram-ai/faye-ui",
  "moduleGroup": "hooks",
  "entry": "@fayegram-ai/faye-ui/hooks/click-away",
  "source": "packages/hooks/src/click-away.tsx",
  "clientBoundary": true,
  "declarations": [
    {
      "name": "ClickAwayListenerProps",
      "kind": "InterfaceDeclaration",
      "signature": "export interface ClickAwayListenerProps extends HTMLAttributes<HTMLDivElement> {\n    onClickAway: (event: PointerEvent) => void;\n    enabled?: boolean;\n    /** Include portalled branches explicitly; DOM ancestry alone does not identify them. */\n    branches?: readonly RefObject<Element | null>[];\n    ownerDocument?: Document;\n}",
      "members": [
        {
          "name": "onClickAway",
          "optional": false,
          "type": "(event: PointerEvent) => void"
        },
        {
          "name": "enabled",
          "optional": true,
          "type": "boolean"
        },
        {
          "name": "branches",
          "optional": true,
          "type": "readonly RefObject<Element | null>[]"
        },
        {
          "name": "ownerDocument",
          "optional": true,
          "type": "Document"
        }
      ],
      "line": 4
    },
    {
      "name": "ClickAwayListener",
      "kind": "FunctionDeclaration",
      "signature": "export function ClickAwayListener({ onClickAway, enabled = true, branches = [], ownerDocument, children, ...props }: ClickAwayListenerProps)",
      "line": 12
    }
  ],
  "typesComplete": false,
  "typeScope": "Explicit source declarations plus dependency-resolved emitted exports. Full inherited/generic restrictions remain authoritative in installed declarations.",
  "compiledExports": [
    {
      "name": "ClickAwayListener",
      "kind": "value",
      "type": "({ onClickAway, enabled, branches, ownerDocument, children, ...props }: ClickAwayListenerProps) => import(\"react\").JSX.Element",
      "description": "A structural wrapper for custom surfaces. Do not add a second dismiss listener to Base UI overlays."
    },
    {
      "name": "ClickAwayListenerProps",
      "kind": "type",
      "type": "ClickAwayListenerProps",
      "description": ""
    }
  ],
  "declaration": "packages/faye-ui/dist/hooks/click-away.d.ts"
}
