import type { Media } from "@osdk/api";
import { ViewerType } from "../DocumentViewerApi.js";
export interface UseTiffToPdfResult {
	/** Which viewer to use: Tiff for single-page, Pdf for multi-page */
	viewerType: ViewerType.Tiff | ViewerType.Pdf;
	/** PDF content as ArrayBuffer when multi-page TIFF was converted */
	pdfData: ArrayBuffer | undefined;
	loading: boolean;
	error: Error | undefined;
}
/**
* Detects multi-page TIFFs and converts them to PDF via the MIO transform API.
* Single-page TIFFs are left for the TiffRenderer to handle.
*
* @param media - The OSDK Media object (must be a TIFF)
* @param enabled - Whether to attempt multi-page detection and conversion
*/
export declare function useTiffToPdf(media: Media, enabled: boolean): UseTiffToPdfResult;
