import D2Reader from '@d-i-t-a/reader';
import { ColorMode, ReaderReturn, ReaderArguments, FontFamily } from '../types';
export declare type HtmlAction = {
    type: 'SET_READER';
    reader: D2Reader;
} | {
    type: 'SET_COLOR_MODE';
    mode: ColorMode;
} | {
    type: 'SET_SCROLL';
    isScrolling: boolean;
} | {
    type: 'SET_FONT_SIZE';
    size: number;
} | {
    type: 'SET_FONT_FAMILY';
    family: FontFamily;
} | {
    type: 'SET_CURRENT_TOC_URL';
    currentTocUrl: string;
};
export default function useHtmlReader(args: ReaderArguments): ReaderReturn;
