import type { ReadableSpan } from './types.js';
import type { TelemetryFilter, TelemetryPageInfo, TelemetryRecord, TelemetryViewMode } from './api.js';
export declare function applyTelemetryRecordFilter(records: readonly TelemetryRecord[], filter: TelemetryFilter, view: TelemetryViewMode): {
    items: readonly TelemetryRecord[];
    pageInfo: TelemetryPageInfo;
};
export declare function applyTelemetrySpanFilter(spans: readonly ReadableSpan[], filter: TelemetryFilter, view: TelemetryViewMode): {
    items: readonly ReadableSpan[];
    pageInfo: TelemetryPageInfo;
};
export declare function telemetryRecordMatches(record: TelemetryRecord, filter: TelemetryFilter): boolean;
export declare function resolveTelemetryRecordCursor(records: readonly TelemetryRecord[], cursor: string): number;
export declare function resolveTelemetrySpanCursor(spans: readonly ReadableSpan[], cursor: string): number;
//# sourceMappingURL=api-query.d.ts.map