import { App } from "../models/App"; import { ApiKey } from "../models/ApiKey"; import { Source } from "../models/Source"; import { Schedule } from "../models/Schedule"; import { Destination } from "../models/Destination"; import { Import } from "../models/Import"; import { Group } from "../models/Group"; import { GroupRule } from "../models/GroupRule"; import { Export } from "../models/Export"; import { GrouparooRecord } from "../models/GrouparooRecord"; import { RecordProperty } from "../models/RecordProperty"; import { Property } from "../models/Property"; import { Run } from "../models/Run"; import { Team } from "../models/Team"; import { TeamMember } from "../models/TeamMember"; import { GrouparooModel } from "../models/GrouparooModel"; export interface StatusMetric { collection: string; topic: string; aggregation: "count" | "exact"; key?: string; value?: string; count?: number; min?: number; max?: number; avg?: number; imports?: number; exports?: number; runs?: number; errors?: number; metadata?: string; } export declare namespace StatusReporters { namespace Cluster { namespace Workers { function countWorkers(): Promise; function countErrors(): Promise; function details(): Promise; } namespace Process { function platform(): Promise; function env(): Promise; function sequelizeDialect(): Promise; } namespace Notifications { function unread(): Promise; } } namespace Plugins { function Versions(): Promise; } namespace Totals { function Models(models?: (typeof Property | typeof Schedule | typeof Destination | typeof Source | typeof App | typeof RecordProperty | typeof GrouparooRecord | typeof GroupRule | typeof Group | typeof Run | typeof Export | typeof GrouparooModel | typeof Import | typeof ApiKey | typeof Team | typeof TeamMember)[]): Promise; function SourceTotals(): Promise; function DestinationTotals(): Promise; function UniqueRecordsExported(): Promise; } namespace Pending { function pendingRuns(): Promise; function pendingRecords(): Promise; function pendingImports(): Promise; function pendingImportsBySource(): Promise; function pendingExports(): Promise; function pendingExportsByDestination(): Promise; } namespace Deleted { function deletedGroups(): Promise; function deletedDestinations(): Promise; function deletedProperties(): Promise; function deletedSources(): Promise; function deletedRecords(): Promise; function deletedModels(): Promise; function deletedApps(): Promise; } namespace Groups { function byNewestMember(): Promise; } namespace Sources { function nextRuns(): Promise; } } export declare namespace FinalSummaryReporters { namespace Sources { interface SourceData { name: string; recordsCreated: number; recordsImported: number; importsCreated: number; error: string; } function getData(): Promise; } namespace GrouparooRecords { interface RecordData { name?: string; recordsUpdated: number; recordsCreated: number; allRecords: number; } function getData(): Promise; } namespace Destinations { interface DestinationData { name: string; exportsCreated: number; exportsFailed: number; exportsComplete: number; } function getData(): Promise; } namespace Warnings { interface WarningData { name: string; message: string; link: string; } function getWarnings(): Promise; } }