import type { HookMiddleware } from "../define-hook"; import { IOptions, IPerformanceService } from "../../declarations"; import { IHooksService, IDictionary, IChildProcess, IFileSystem, IErrors, IProjectHelper, IHookExecutionOptions } from "../declarations"; import { IProjectConfigService } from "../../definitions/project"; import { IInjector } from "../definitions/yok"; export declare class HooksService implements IHooksService { private $childProcess; private $fs; private $logger; private $errors; private $config; private $staticConfig; private $injector; private $projectHelper; private $options; private $performanceService; private $projectConfigService; private static HOOKS_DIRECTORY_NAME; private cachedHooks; private hooksDirectories; constructor($childProcess: IChildProcess, $fs: IFileSystem, $logger: ILogger, $errors: IErrors, $config: Config.IConfig, $staticConfig: Config.IStaticConfig, $injector: IInjector, $projectHelper: IProjectHelper, $options: IOptions, $performanceService: IPerformanceService, $projectConfigService: IProjectConfigService); get hookArgsName(): string; private initialize; private static formatHookName; executeBeforeHooks(commandName: string, hookArguments?: IDictionary, options?: IHookExecutionOptions): Promise; executeAfterHooks(commandName: string, hookArguments?: IDictionary): Promise; private executeHooks; private isESModule; private executeHook; private executeHookDefinition; private executeHooksInDirectory; private getCustomHooksByName; private getHooksByName; private getHooksInDirectory; private prepareEnvironment; private getSheBangInterpreter; private getBaseFilename; private shouldExecuteInProcess; private validateHookArguments; }