//#region src/preview.d.ts type StoryContextLike = { id?: string; parameters?: Record; }; /** * Optional preview annotation. The capture hook primarily reads the story * from the test context that `@storybook/addon-vitest` provides; add this * to `.storybook/preview.ts` as a fallback that survives addon-internal * changes: * * ```ts * import vrtPreview from 'storybook-addon-vrt/preview'; * export default { decorators: [...vrtPreview.decorators] }; * ``` */ declare const preview: { decorators: ((storyFn: () => T, context: StoryContextLike) => T)[]; }; //#endregion export { preview as default };