import { z } from 'zod';
import type { ElsClient } from '../elsClient.js';
import type { ToolResult } from '../types.js';
/**
 * Tool: top_error_messages
 * Mapping: GET /analytics/top-messages → analytics.routes.ts:302
 * Upstream Zod: TopMessagesSchema (take, from, to, +filters).
 *
 * Defaults: take=20.
 */
export declare const topErrorMessagesInputShape: {
    from: z.ZodOptional<z.ZodString>;
    to: z.ZodOptional<z.ZodString>;
    level: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    serviceName: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    take: z.ZodDefault<z.ZodNumber>;
    dedupeBy: z.ZodDefault<z.ZodEnum<["message", "fingerprint"]>>;
};
export declare const topErrorMessagesToolDef: {
    name: string;
    title: string;
    description: string;
    inputShape: {
        from: z.ZodOptional<z.ZodString>;
        to: z.ZodOptional<z.ZodString>;
        level: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        serviceName: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        take: z.ZodDefault<z.ZodNumber>;
        dedupeBy: z.ZodDefault<z.ZodEnum<["message", "fingerprint"]>>;
    };
};
type Args = {
    from?: string;
    to?: string;
    level?: string[];
    serviceName?: string[];
    take: number;
    dedupeBy: 'message' | 'fingerprint';
};
export declare function handleTopErrorMessages(args: Args, client: ElsClient): Promise<ToolResult>;
export {};
//# sourceMappingURL=topErrorMessages.d.ts.map