/**
 * @fileoverview Core logic for the docwriter_compile_latex_to_pdf tool.
 * This module handles compiling a LaTeX document to a PDF, with automatic
 * support for bibliography processing via Biber.
 * @module src/mcp-server/tools/compileLatexToPdf/logic
 */
import { z } from "zod";
import { type RequestContext } from "../../../utils/index.js";
/**
 * Zod schema for validating input arguments for the `docwriter_compile_latex_to_pdf` tool.
 */
export declare const CompileLatexToPdfInputSchema: z.ZodObject<{
    documentId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    documentId: string;
}, {
    documentId: string;
}>;
/**
 * TypeScript type inferred from `CompileLatexToPdfInputSchema`.
 */
export type CompileLatexToPdfInput = z.infer<typeof CompileLatexToPdfInputSchema>;
/**
 * Defines the structure of the JSON payload returned by the `compileLatexToPdfLogic` tool handler.
 */
export interface CompileLatexToPdfResponse {
    status: "compiled";
    pdfPath: string;
    log: string;
}
/**
 * Processes the core logic for the `docwriter_compile_latex_to_pdf` tool.
 * @param {CompileLatexToPdfInput} params - The validated input parameters for the tool.
 * @param {RequestContext} context - The request context for logging and tracing.
 * @returns {Promise<CompileLatexToPdfResponse>} A promise that resolves to an object containing the compilation status.
 * @throws {McpError} If the document is not found, compilation fails, or a file system error occurs.
 */
export declare function compileLatexToPdfLogic(params: CompileLatexToPdfInput, context: RequestContext): Promise<CompileLatexToPdfResponse>;
