mirror of
https://github.com/EvoMap/evolver.git
synced 2026-09-18 21:47:53 +08:00
10 lines
398 B
TypeScript
10 lines
398 B
TypeScript
import { lstatSync, readFileSync } from 'node:fs';
|
|
export interface ProxyTokenDeps {
|
|
env?: Record<string, string | undefined>;
|
|
stdout?: (text: string) => void;
|
|
stderr?: (text: string) => void;
|
|
homeDir?: string;
|
|
lstat?: typeof lstatSync;
|
|
readFile?: typeof readFileSync;
|
|
}
|
|
export declare function runProxyToken(argv: readonly string[], deps?: ProxyTokenDeps): Promise<number>; |