import { StormWorkspaceConfig } from '@storm-software/config'; import { Options } from 'tsup'; export * from '@storm-software/package-constants/types'; // Generated by @storm-software/untyped // Do not edit this file directly interface BaseExecutorSchema { /** * Output Path * * The output path for the build * * * @format path */ outputPath?: string, } // Generated by @storm-software/untyped // Do not edit this file directly interface BaseGeneratorSchema { /** * Directory * * The directory to create the library in * */ directory?: string, } declare enum TypescriptProjectLinkingType { ALIAS = "alias", REFERENCE = "reference" } interface BaseTypescriptPluginOptions { /** * The project linking type to use for TypeScript projects. * * @see https://nx.dev/docs/concepts/typescript-project-linking * @see https://nx.dev/docs/technologies/typescript/guides/switch-to-workspaces-project-references * * @defaultValue "reference" */ projectLinks?: TypescriptProjectLinkingType; } interface TsupContext { projectRoot: string; sourceRoot: string; projectName: string; main: string; } type BuildOptions = Options; type Entry = string | string[] | Record; interface WorkspaceToolHooks { applyDefaultOptions?: (options: Partial, config?: StormWorkspaceConfig) => Promise | TSchema; preProcess?: (options: TSchema, config?: StormWorkspaceConfig) => Promise | void; postProcess?: (config?: StormWorkspaceConfig) => Promise | void; } interface BaseWorkspaceToolOptions { skipReadingConfig?: boolean; hooks?: WorkspaceToolHooks; } type BaseExecutorOptions = BaseWorkspaceToolOptions; interface BaseExecutorResult { error?: Error; success?: boolean; } type BaseGeneratorOptions = BaseWorkspaceToolOptions; interface BaseGeneratorResult extends Record { error?: Error; success?: boolean; data?: any; } export { type BaseExecutorOptions, type BaseExecutorResult, type BaseExecutorSchema, type BaseGeneratorOptions, type BaseGeneratorResult, type BaseGeneratorSchema, type BaseTypescriptPluginOptions, type BaseWorkspaceToolOptions, type BuildOptions, type Entry, type TsupContext, TypescriptProjectLinkingType, type WorkspaceToolHooks };