{"version":3,"file":"PresenceContext.mjs","sources":["../../../src/context/PresenceContext.ts"],"sourcesContent":["\"use client\"\n\nimport { createContext } from \"react\"\nimport { VariantLabels } from \"../motion/types\"\n\n/**\n * @public\n */\nexport interface PresenceContextProps {\n    id: string\n    isPresent: boolean\n    register: (id: string | number) => () => void\n    onExitComplete?: (id: string | number) => void\n    initial?: false | VariantLabels\n    custom?: any\n}\n\n/**\n * @public\n */\nexport const PresenceContext =\n    /* @__PURE__ */ createContext<PresenceContextProps | null>(null)\n"],"names":[],"mappings":";;;AAiBA;;AAEG;;AAEC;;"}