import { Options as ExecaOptions, ExecaChildProcess } from 'execa' type NetlifyPluginRunUtilOptions = Omit & { /** * @default true */ preferLocal?: ExecaOptions['preferLocal'] } type NetlifyPluginRunUtilResult = ExecaChildProcess /** * Run commands and processes * @see https://github.com/netlify/build/blob/master/packages/run-utils/README.md */ export interface NetlifyPluginRunUtil { ( file: string, // eslint-disable-next-line fp/no-arguments -- params are named `arguments` in the docs. Unrelated to JS's `arguments` arguments?: readonly string[], options?: NetlifyPluginRunUtilOptions, ): Promise command(command: string, options?: NetlifyPluginRunUtilOptions): Promise }