{"version":3,"file":"index.d.cts","names":["Promise","sideEffect"],"sources":["../@types/rollup-parseAst.d.ts","../src/framework-api.ts","../src/portable-stories.tsx"],"sourcesContent":["/**\n * Extra type definitions for rollup/parseAst in cases the Rollup version between\n * `@stencil/storybook-plugin` and `unplugin-stencil` is different. This may cause\n * the following type error:\n *\n * ```\n * [ ERROR ]  TypeScript: node_modules/vite/dist/node/index.d.ts:5:41\n *          Cannot find module 'rollup/parseAst' or its corresponding type\n *          declarations.\n *\n *     L4:  export { rollup as Rollup };\n *     L5:  export { parseAst, parseAstAsync } from 'rollup/parseAst';\n *     L6:  import * as http from 'node:http';\n * ```\n *\n * This file is a workaround to make sure the type definitions are available when\n * importing `rollup/parseAst` in `unplugin-stencil`.\n */\ndeclare module 'rollup/parseAst' {\n  export function parseAst(code: string, options?: any): any;\n  export function parseAstAsync(code: string, options?: any): Promise<any>;\n}\n"],"mappings":";;;;;;;;;;;;;;;AAoBqE;;;;ACjBrE;AAUA;AAaA;AAIA;AAIA;;;8DDd8DA;AES9D;;;iBD1BgB,gBAAA;iBAUA,eAAA,iBAAgC;;iBAahC,iBAAA;iBAIA,yBAAA;iBAIA,iBAAA,CAAA;;;;;;;;;;;;ADdqD;;;;ACjBrE;AAUA;AAaA;AAIA;AAIA;;;;ACLgB,iBAAA,qBAAA,CAAqB,kBAAA,EACf,gCADe,CAAA,GAAA,CAAA,GACyB,gCADzB,CAAA,GAAA,CAAA,EAAA,CAAA,EAElC,4BAFkC,CAEL,eAFK,CAAA,OAAA,CAAA,CAAA"}