first commit

This commit is contained in:
2025-10-26 23:10:15 +08:00
commit 8f0345b7be
14961 changed files with 2356381 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import { type StdioOptions } from 'node:child_process';
export declare class ChildProcessError extends Error {
code: number | null;
signal: NodeJS.Signals | null;
constructor(message: string, code: number | null, signal: NodeJS.Signals | null);
}
export declare function runCommand(cmd: string, args?: string[], opts?: {
cwd?: string;
env?: NodeJS.ProcessEnv;
stdio?: StdioOptions;
context?: 'local' | 'global';
printOutput?: (options: {
stdout: Buffer[];
stderr: Buffer[];
}) => void;
}): Promise<void>;