import type { CollectionType } from '../../events/definitions/common.js'; import type { XScalarCookie } from '../../schemas/extensions/general/x-scalar-cookies.js'; /** Event definitions for all things cookie related */ export type CookieEvents = { /** * Add OR update a cookie */ 'cookie:upsert:cookie': { payload: Partial; index?: number; } & CollectionType; /** * Delete a cookie by index */ 'cookie:delete:cookie': { cookieName: string; index: number; } & CollectionType; }; //# sourceMappingURL=cookie.d.ts.map