/** Test-only hook to reset the one-shot deprecation warning latch. */ export declare function __resetDeprecationWarning(): void; /** * Returns the configured output sandbox directory, or `null` if file output is disabled. * * Resolution order: * 1. `PDFNATIVE_MCP_OUTPUT_DIR` (canonical, v1.0.0+) * 2. `PDFNATIVE_MPC_OUTPUT_DIR` (deprecated typo alias; emits one warning) */ export declare function getOutputSandbox(): string | null; /** * Resolves a user-supplied file path against the sandbox and ensures it stays within it. * * @throws {SecurityError} when file output is disabled or the path escapes the sandbox. */ export declare function resolveSandboxedPath(userPath: string): string; /** * Output mode: either return PDF as base64 in the response, or write to a sandboxed file. */ export type OutputMode = 'base64' | 'file'; export interface OutputResult { /** The output mode that was used. */ mode: OutputMode; /** Number of bytes in the produced PDF. */ sizeBytes: number; /** Absolute file path (when `mode === 'file'`). */ filePath?: string; /** Base64-encoded PDF (when `mode === 'base64'`). */ base64?: string; } /** * Produces the final tool output: either a base64 string (inline) or writes to a sandboxed file path. */ export declare function emitPdf(bytes: Uint8Array, options: { mode: OutputMode; outputPath?: string; }): Promise; //# sourceMappingURL=output.d.ts.map