{"version":3,"file":"types.cjs","names":[],"sources":["../../src/kit/types.ts"],"sourcesContent":["import type { SliceZone } from \"@prismicio/client\"\n\nimport type { ActiveSlice } from \"../types\"\nimport type { SimulatorManager } from \"./SimulatorManager\"\n\nexport enum StateEventType {\n\tSlices = \"slices\",\n\tActiveSlice = \"activeSlice\",\n\tMessage = \"message\",\n}\n\nexport type StateEvents = {\n\t[StateEventType.Slices]: SliceZone\n\t[StateEventType.ActiveSlice]: ActiveSlice | null\n\t[StateEventType.Message]: string\n}\n\nexport interface SliceSimulatorProps {\n\tzIndex?: number\n\tbackground?: string\n}\n\nexport interface SliceSimulatorState {\n\tmanager: SimulatorManager\n\tslices: SliceZone\n\tmessage: string\n}\n\nexport type SliceSimulatorOptions = SliceSimulatorProps & SliceSimulatorState\n"],"mappings":";AAKA,IAAY,iBAAL,yBAAA,gBAAA;AACN,gBAAA,YAAA;AACA,gBAAA,iBAAA;AACA,gBAAA,aAAA;;KACA"}