import { ToolCommand, ToolCommandRunner, ToolCommandWrapper, ToolCommandFlagsSetter, RuleRunner, PiralRuleContext, PiletRuleContext, PackagePatcher, BundlerDefinition } from './types'; export declare function withCommand(command: ToolCommand): any; export declare function withoutCommand(commandName: string): any; export declare function withFlags(commandName: string, setter: ToolCommandFlagsSetter): any; export declare function wrapCommand(commandName: string, wrapper: ToolCommandWrapper): any; export declare function beforeCommand(commandName: string, before: ToolCommandRunner): any; export declare function afterCommand(commandName: string, after: ToolCommandRunner): any; export declare function withPiralRule(name: string, run: RuleRunner): any; export declare function withPiletRule(name: string, run: RuleRunner): any; export declare function withPatcher(packageName: string, patch: PackagePatcher): any; export declare function withBundler(name: string, actions: BundlerDefinition): any;