export function withProofTempRoot(callback: (root: string) => T | Promise): Promise;