import { Args, ComponentAnnotations, AnnotatedStoryFn, ArgsStoryFn, ArgsFromMeta, StoryAnnotations, StrictArgs, DecoratorFunction, LoaderFunction, StoryContext as StoryContext$1, ProjectAnnotations } from 'storybook/internal/types'; import { Simplify, SetOptional, Constructor, RemoveIndexSignature } from 'type-fest'; import { FunctionalComponent, VNodeChild } from 'vue'; import { ComponentProps, ComponentSlots } from 'vue-component-type-helpers'; import { V as VueRenderer } from './types-1ede6954.js'; /** * Metadata to configure the stories for a component. * * @see [Default export](https://storybook.js.org/docs/api/csf#default-export) */ type Meta = ComponentAnnotations>; /** * Story function that represents a CSFv2 component example. * * @see [Named Story exports](https://storybook.js.org/docs/api/csf#named-story-exports) */ type StoryFn = AnnotatedStoryFn>; /** * Story object that represents a CSFv3 component example. * * @see [Named Story exports](https://storybook.js.org/docs/api/csf#named-story-exports) */ type StoryObj = TMetaOrCmpOrArgs extends { render?: ArgsStoryFn; component?: infer Component; args?: infer DefaultArgs; } ? Simplify & ArgsFromMeta> extends infer TArgs ? StoryAnnotations>> : never : StoryAnnotations>; type ExtractSlots = AllowNonFunctionSlots>>>; type AllowNonFunctionSlots = { [K in keyof Slots]: Slots[K] | VNodeChild; }; type ComponentPropsAndSlots = ComponentProps & ExtractSlots; type ComponentPropsOrProps = TCmpOrArgs extends Constructor ? ComponentPropsAndSlots : TCmpOrArgs extends FunctionalComponent ? ComponentPropsAndSlots : TCmpOrArgs; type Decorator = DecoratorFunction; type Loader = LoaderFunction; type StoryContext = StoryContext$1; type Preview = ProjectAnnotations; export { ComponentPropsAndSlots as C, Decorator as D, Loader as L, Meta as M, Preview as P, StoryFn as S, StoryObj as a, StoryContext as b };