/**
 * @fileoverview Core logic for the docwriter_list_latex_documents tool.
 * This module handles listing all LaTeX documents in the data directory.
 * @module src/mcp-server/tools/listLatexDocuments/logic
 */
import { z } from "zod";
import { type RequestContext } from "../../../utils/index.js";
/**
 * Zod schema for validating input arguments for the `docwriter_list_latex_documents` tool.
 */
export declare const ListLatexDocumentsInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
/**
 * TypeScript type inferred from `ListLatexDocumentsInputSchema`.
 */
export type ListLatexDocumentsInput = z.infer<typeof ListLatexDocumentsInputSchema>;
/**
 * Defines the structure of the JSON payload returned by the `listLatexDocumentsLogic` tool handler.
 */
export interface ListLatexDocumentsResponse {
    documents: string[];
}
/**
 * Processes the core logic for the `docwriter_list_latex_documents` tool.
 * @param {ListLatexDocumentsInput} params - The validated input parameters for the tool.
 * @param {RequestContext} context - The request context for logging and tracing.
 * @returns {Promise<ListLatexDocumentsResponse>} A promise that resolves to an object containing the list of documents.
 * @throws {McpError} If a file system error occurs.
 */
export declare function listLatexDocumentsLogic(params: ListLatexDocumentsInput, context: RequestContext): Promise<ListLatexDocumentsResponse>;
