import { PnpmError } from '@pnpm/error'; export interface ApplyPatchToDirOpts { patchedDir: string; patchFilePath: string; } export declare function applyPatchToDir(opts: ApplyPatchToDirOpts): boolean; export declare class PatchPathEscapesError extends PnpmError { constructor(opts: ApplyPatchToDirOpts, badPath: string); }