import type { FleetRow, FleetOptions } from "../types/index.js";
export type { FleetRow, FleetOptions };
/**
 * Get the most recent audit score for a server IP from history.
 * Returns null when no history exists.
 */
export declare function getLatestAuditScore(serverIp: string): number | null;
/**
 * Get the lowest-scoring audit category from the latest snapshot for a server.
 * Returns null when no snapshots exist or snapshot has no categories.
 */
export declare function getWeakestCategory(serverIp: string): Promise<{
    name: string;
    score: number;
} | null>;
/**
 * Sort FleetRow[] by the given field.
 * - score: descending, null scores last
 * - name/provider: ascending alphabetical
 * - unknown field: falls back to name sort
 */
export declare function sortRows(rows: FleetRow[], field: string): FleetRow[];
/**
 * Probe all registered servers in parallel (p-limit 5) and return fleet rows.
 * Uses Promise.allSettled — rejected probes become OFFLINE rows, never thrown.
 */
export declare function runFleet(options: FleetOptions): Promise<FleetRow[]>;
//# sourceMappingURL=fleet.d.ts.map