import type { TelemetryCapabilities, TelemetryFilter, TelemetryListResponse, TelemetryRecord, TelemetryViewMode } from './api.js';
export interface CreateTelemetryStreamInput {
    readonly request: Request;
    readonly filter: TelemetryFilter;
    readonly view: TelemetryViewMode;
    readonly rawAccessible: boolean;
    readonly records: readonly TelemetryRecord[];
    readonly listEventPage: (filter: TelemetryFilter, view: TelemetryViewMode, rawAccessible: boolean) => TelemetryListResponse<TelemetryRecord>;
    readonly subscribe: (listener: (record: TelemetryRecord) => void) => () => void;
    readonly getCapabilities: () => TelemetryCapabilities;
    readonly getSubscriberCount: () => number;
}
export declare function createTelemetryEventStream(input: CreateTelemetryStreamInput): Response;
//# sourceMappingURL=api-stream.d.ts.map