import type { ClientRPCRequestParams, ClientRPCResponseResult } from '../types.js'; import type { AuditMetric, MetricPath, MetricPathToAuditMetric } from '../../audit/types.js'; import type { Audit } from '../../audit/index.js'; import type { AuditEventIdEncoded } from '../../ids/index.js'; import { UnaryHandler } from '@matrixai/rpc'; declare class AuditMetricGet extends UnaryHandler<{ audit: Audit; }, ClientRPCRequestParams<{ path: MetricPath & Array; seek?: AuditEventIdEncoded | number; seekEnd?: AuditEventIdEncoded | number; }>, ClientRPCResponseResult> { handle: ({ path, seek, seekEnd, }: { seek?: number | AuditEventIdEncoded | undefined; seekEnd?: number | AuditEventIdEncoded | undefined; } & { metadata?: (Partial<{ timeout: number | null; }> & Partial<{ authorization: string; }> & import("@matrixai/rpc/types.js").JSONObject) | undefined; } & { path: T; }, _cancel: any, _meta: any, _ctx: any) => Promise>>; } export default AuditMetricGet;