import { S as StormWorkspaceConfig } from './types-Dug-2iKz.js';
import { Options } from 'tsup';
import './types-D2zxYEAh.js';

// 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<string, string>;
interface WorkspaceToolHooks<TSchema = any> {
    applyDefaultOptions?: (options: Partial<TSchema>, config?: StormWorkspaceConfig) => Promise<TSchema> | TSchema;
    preProcess?: (options: TSchema, config?: StormWorkspaceConfig) => Promise<void> | void;
    postProcess?: (config?: StormWorkspaceConfig) => Promise<void> | void;
}
interface BaseWorkspaceToolOptions<TSchema = any> {
    skipReadingConfig?: boolean;
    hooks?: WorkspaceToolHooks<TSchema>;
}
type BaseExecutorOptions<TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = BaseWorkspaceToolOptions<TExecutorSchema>;
interface BaseExecutorResult {
    error?: Error;
    success?: boolean;
}
type BaseGeneratorOptions<TGeneratorSchema extends BaseGeneratorSchema = BaseGeneratorSchema> = BaseWorkspaceToolOptions<TGeneratorSchema>;
interface BaseGeneratorResult extends Record<string, any> {
    error?: Error;
    success?: boolean;
    data?: any;
}

export { type BaseExecutorOptions as B, type Entry as E, type TsupContext as T, type WorkspaceToolHooks as W, type BaseExecutorResult as a, type BaseExecutorSchema as b, type BaseGeneratorOptions as c, type BaseGeneratorResult as d, type BaseGeneratorSchema as e, type BaseTypescriptPluginOptions as f, type BaseWorkspaceToolOptions as g, type BuildOptions as h, TypescriptProjectLinkingType as i };
