/** * The trusted directory for a child of `entry`: the copyfile runtime version * root that holds `node_modules/@hasna/skills` (what the pinned launcher uses), * or the entry's own directory for a build or source checkout. */ export declare function selfSpawnRoot(entry: string): string; export interface SelfSpawnCommand { command: string[]; cwd: string; env: Record; } /** * Argv, working directory and environment to run this Skills entry again with * `args`. Pass the result to Bun.spawn as `cmd`, `cwd` and `env`. */ export declare function selfSpawnCommand(args: readonly string[], options?: { entry?: string; runtime?: string; env?: Record; callerCwd?: string; }): SelfSpawnCommand;