/** Type Definition for Default Exports */ type DefaultExport = { /** * Type Definition * * - If you are importing a Type "import('@my-example/module').ExampleModule" * - If you are importing a function "typeof import('@my-example/module').ExampleModule" */ typeDef: string; /** A single line description of the default export */ singleLineDescription?: string; /** A multi-line description of the default export */ multiLineDescription?: string[]; }; /** Type Definition for Named Exports */ type NamedExports = { /** * Type Definition * * - If you are importing a Type "import('@my-example/module').ExampleType" * - If you are importing a function "typeof import('@my-example/module').ExampleFunction" */ typeDef: string; /** The name of the exported function */ name: string; /** A single line description of the export */ singleLineDescription?: string; /** A multi-line description of the export */ multiLineDescription?: string[]; }; /** Type Definition for Type Exports */ type TypeExports = { /** * Type Definition * * @example "import('@my-example/module').ExampleType" */ typeDef: string; /** The name of the exported Type */ name: string; /** A single line description of the export */ singleLineDescription?: string; /** A multi-line description of the export */ multiLineDescription?: string[]; }; /** Type for Add Module Declarations for Building Declaration Files */ type AddModuleDeclarations = { /** Default Export */ defaultExport?: DefaultExport; /** Named Exports */ namedExports?: NamedExports[]; /** Type Exports */ typeExports?: TypeExports[]; }; /** Shared Template Options */ type SharedTemplateOptions = { type: string; name: string; }; /** Astro 'config:setup:done` InjectedType */ type InjectedType = { filename: string; content: string; }; export type { AddModuleDeclarations, DefaultExport, InjectedType, NamedExports, SharedTemplateOptions, TypeExports };