import type { Args, Parameters as DefaultParameters, StoryContext as DefaultStoryContext, ComponentAnnotations, StoryAnnotations, AnnotatedStoryFn } from '@storybook/csf'; import type { StoryFnAngularReturnType } from './types'; export type { Args, ArgTypes } from '@storybook/csf'; export declare type AngularFramework = { component: any; storyResult: StoryFnAngularReturnType; }; /** * Metadata to configure the stories for a component. * * @see [Default export](https://storybook.js.org/docs/formats/component-story-format/#default-export) */ export declare type Meta = ComponentAnnotations; /** * Story function that represents a CSFv2 component example. * * @see [Named Story exports](https://storybook.js.org/docs/formats/component-story-format/#named-story-exports) */ export declare type StoryFn = AnnotatedStoryFn; /** * Story function that represents a CSFv3 component example. * * @see [Named Story exports](https://storybook.js.org/docs/formats/component-story-format/#named-story-exports) */ export declare type StoryObj = StoryAnnotations; /** * Story function that represents a CSFv2 component example. * * @see [Named Story exports](https://storybook.js.org/docs/formats/component-story-format/#named-story-exports) * * NOTE that in Storybook 7.0, this type will be renamed to `StoryFn` and replaced by the current `StoryObj` type. * */ export declare type Story = StoryFn; export declare type Parameters = DefaultParameters & { /** Uses legacy angular rendering engine that use dynamic component */ angularLegacyRendering?: boolean; bootstrapModuleOptions?: unknown; }; export declare type StoryContext = DefaultStoryContext & { parameters: Parameters; };