import * as H from 'history';
import * as React from 'react';
interface Props {
    /**
     * The rendered HTML contents of the file.
     */
    dangerousInnerHTML: string;
    location: H.Location;
}
/**
 * Displays a file whose contents are rendered to HTML, such as a Markdown file.
 */
export declare class RenderedFile extends React.PureComponent<Props> {
    componentDidMount(): void;
    componentDidUpdate(prevProps: Props): void;
    render(): JSX.Element | null;
    /** Scroll to the anchor in the page identified by the location fragment (e.g., #my-section). */
    private scrollToHash;
}
export {};
//# sourceMappingURL=RenderedFile.d.ts.map