import { requestAndWaitForWorkToComplete, } from '../shared/work.js';
import { saveRemoteFileNode } from './file.js';
export async function resolveWorkFileNode(request, outputPath) {
    const controller = new AbortController();
    const output = await requestAndWaitForWorkToComplete(request, controller);
    await saveRemoteFileNode(output.file.path, outputPath, controller);
}
//# sourceMappingURL=request.js.map