import { RefObject } from "react"; import { PreviewUrlFn } from "../../../types/previewUrl"; export declare const usePreview: (previewUrlFn: PreviewUrlFn, windowRef: RefObject) => string;