import type { RunOptions } from '../types';
export type RuntimeOptions = {
    onError?: (error: any) => void;
};
export declare function LatexRuntime(props: RunOptions & RuntimeOptions): null;
export declare function useLatex(): (options?: RunOptions) => Promise<void>;
