/**
 * Message Tools for Agent
 *
 * Allow the agent to search and retrieve folder message history.
 * Enables the agent to answer questions about past conversations
 * and use chat context for entity creation.
 */
import { Type as T } from 'typebox';
import { type AuthUser, type AuthService } from '../../services/auth-service.js';
import { type MessageService } from '../../services/message-service.js';
import type { WorkspaceManager } from '../../core/workspace-manager.js';
export declare function createMessageTools(messageService: MessageService, getCurrentUser: () => AuthUser | null, workspaceManager: WorkspaceManager, authService: AuthService): ({
    name: string;
    label: string;
    description: string;
    parameters: T.TObject<{
        query: T.TString;
        folder: T.TOptional<T.TString>;
        limit: T.TOptional<T.TNumber>;
    }>;
    execute: (_toolCallId: string, params: any) => Promise<{
        content: {
            type: "text";
            text: string;
        }[];
        details: any;
    }>;
} | {
    name: string;
    label: string;
    description: string;
    parameters: T.TObject<{
        folder: T.TString;
        messageId: T.TOptional<T.TNumber>;
        limit: T.TOptional<T.TNumber>;
    }>;
    execute: (_toolCallId: string, params: any) => Promise<{
        content: {
            type: "text";
            text: string;
        }[];
        details: any;
    }>;
})[];
