import type { GraphQLClient } from 'graphql-request'; export interface SlowRequestOverview { key: string; value: string; } export interface SlowRequestDuration { key: string; value: number; } export interface SlowRequestSample { id: string; time: string; action: string; duration: number; queueDuration: number | null; hasNPlusOne: boolean; params: string | null; overview: SlowRequestOverview[]; groupDurations: SlowRequestDuration[]; } export interface SlowRequestIncident { number: number; actionNames: string[]; mean: number; count: number; hasNPlusOne: boolean; namespace: string; samples: SlowRequestSample[]; } export interface SlowRequestsResult { incidents: SlowRequestIncident[]; } export declare function getSlowRequests(graphqlClient: GraphQLClient, appId: string, namespace?: string | null, incidentLimit?: number, samplesPerIncident?: number): Promise; //# sourceMappingURL=slow-requests.d.ts.map