/**
* Run `fn` while every ambient stdoutwrite (clack logs, dependency output) is
* routed to stderr, so a `--json` command can print exactly one JSON document
* on stdout afterwards.
*/
export declare functionwithStdoutOnStderr<T>(fn: () => Promise<T>): Promise<T>;