import { SlowQueryReportPayload } from '../types/slow-query-report';
type SlowQueryLogModel = Record<string, any>;
export interface SlowQueryManagerDependencies {
    SlowQueryLogs: any;
}
export declare function registerSlowQueryManagerDependencies(dependencies: SlowQueryManagerDependencies): void;
export declare class SlowQueryManager {
    private config;
    private serverConfig;
    constructor(serverConfig: any, dependencies?: Partial<SlowQueryManagerDependencies>);
    isReady(): boolean;
    validateIngestKey(candidate?: string): boolean;
    ingestSlowQuery(payload: SlowQueryReportPayload): Promise<SlowQueryLogModel>;
    private buildLegacyDedupeQuery;
    private buildFingerprintScopeKey;
    private normalizeScopeSegment;
    private buildCanonicalFingerprint;
    private normalizeCanonicalValue;
    private normalizeCanonicalString;
    private isObjectIdLikeValue;
    private resolveConfig;
    private cleanSet;
    private coerceDate;
    private logPipelineDebug;
    private describePipelineStages;
}
export declare function ensureSlowQueryManager(serverConfig?: any): SlowQueryManager | null;
export {};
