import { EventStream, RunEvent } from '@4runr/sentinel';
export declare class GatewayEventStream implements EventStream {
    private subscribers;
    subscribe(callback: (event: RunEvent) => void): {
        unsubscribe(): void;
    };
    emit(event: RunEvent): void;
    emitCreated(runId: string): void;
    emitStarted(runId: string): void;
    emitToken(runId: string, tokens: number, contentBytes?: number, cost?: number): void;
    emitFinish(runId: string, status: 'ok' | 'error' | 'canceled'): void;
    emitError(runId: string, message: string, code?: string): void;
}
//# sourceMappingURL=sentinel-event-stream.d.ts.map