import { ReadableStream } from 'stream/web';
import type { Run } from '../workflows';
export type ChunkType = {
    type: string;
    runId: string;
    from: string;
    payload: Record<string, any>;
};
export declare class MastraWorkflowStream extends ReadableStream<ChunkType> {
    #private;
    constructor({ createStream, run, }: {
        createStream: (writer: WritableStream<ChunkType>) => Promise<ReadableStream<any>> | ReadableStream<any>;
        run: Run;
    });
    get status(): Promise<"failed" | "success" | "suspended">;
    get result(): Promise<import("..").WorkflowResult<import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("..").Step<string, any, any, any, any, any>[]> | undefined>;
    get usage(): Promise<{
        promptTokens: number;
        completionTokens: number;
        totalTokens: number;
    }>;
}
//# sourceMappingURL=MastraWorkflowStream.d.ts.map