import type { Defined } from '@alexaegis/common'; import { type CwdOption } from '@alexaegis/fs'; import { type LoggerOption } from '@alexaegis/logging'; export declare const DEFAULT_BIN_DIR = "bin"; export declare const DEFAULT_BINSHIM_DIR = "shims"; export interface AutoBinOptions extends CwdOption, LoggerOption { /** * @defaultValue 'src' */ srcDir?: string | undefined; /** * Every script directly in this folder will be treated as a bin * * Relative to `srcDir`. * * @defaultValue 'bin' */ binDir?: string | undefined; /** * Relative to the package.json, usually './dist' * * used to mark the built scripts as executable * * @defaultValue 'dist' */ outDir?: string | undefined; /** * A directory where shims for the built bins would be placed * All these scripts do is to import the yet-to-be-built binary so * package managers hava something to symlink to before it's built. * * ! This folder has to be ignored by typescript as it contains broken * ! imports before the package is built * * @defaultValue 'shims' */ shimDir?: string | undefined; /** * The hooks this function will search for * @defaultValue ALL_NPM_HOOKS */ enabledHooks?: string[] | undefined; } export declare const normalizeAutoBinOptions: (options: AutoBinOptions) => Defined; //# sourceMappingURL=auto-bin.class.options.d.ts.map