import type { Logger, ScriptConfig } from '@polka-codes/core';
/**
 * Error thrown when script execution fails
 */
export declare const ScriptExecutionFailedError: new (...args: [string, number] | [string, number, (string | undefined)?]) => import("@polka-codes/core").BaseError;
/**
 * Execute a script configuration with the provided arguments.
 * This is a shared utility used by both the `run` and `meta` commands.
 *
 * @param script - The script configuration to execute
 * @param name - The name of the script (for error messages)
 * @param logger - Logger instance for output
 * @param args - Arguments to pass to the script
 * @throws {ScriptExecutionFailedError} When script execution fails
 */
export declare function executeScript(script: ScriptConfig, name: string, logger: Logger, args?: string[]): Promise<void>;
//# sourceMappingURL=executor.d.ts.map