import { StreamInterface, FileDescriptorOptions } from './api'; /** * Creates a file descriptor and provides a stream interface. * * This is handy for writting files where the content may not be available upfront. * * For example, the stdout/stderr of a process, or a large file transferred * from disk or over the network. * * Consumers of this API call `write` to write to the stream, * and `close` to close it. Once closed, no more writes are allowed. * * @param taskId The canonical task id that owns the stream. * @param taskExecutionId The execution task id that owns the stream. * @param name The name of the file descriptor. */ export declare function createFileDescriptor(taskId: string, taskExecutionId: string, name: string, options: FileDescriptorOptions): StreamInterface;