import React, { Component } from 'react'; import * as Rsg from '../../../typings'; export interface StyleGuideProps { codeRevision: number; cssRevision: string; config: Rsg.ProcessedStyleguidistConfig; slots: any; sections: Rsg.Section[]; welcomeScreen?: boolean; patterns?: string[]; displayMode?: string; allSections?: Rsg.Section[]; pagePerSection?: boolean; } interface StyleGuideState { error: Error | boolean; info: React.ErrorInfo | null; } export default class StyleGuide extends Component { state: { error: boolean; info: null; }; componentDidCatch(error: Error, info: React.ErrorInfo): void; render(): JSX.Element; } export {};