@mastra/core
Version:
The core foundation of the Mastra framework, providing essential components and interfaces for building AI-powered applications.
14 lines • 614 B
TypeScript
import { MastraBase } from '../../../base';
import type { Trace } from '../../../telemetry';
import type { StorageGetTracesArg, PaginationInfo, StorageGetTracesPaginatedArg } from '../../types';
export declare abstract class TracesStorage extends MastraBase {
constructor();
abstract getTraces(args: StorageGetTracesArg): Promise<Trace[]>;
abstract getTracesPaginated(args: StorageGetTracesPaginatedArg): Promise<PaginationInfo & {
traces: Trace[];
}>;
abstract batchTraceInsert(args: {
records: Record<string, any>[];
}): Promise<void>;
}
//# sourceMappingURL=base.d.ts.map