import * as React from 'react'; export declare enum Tab { Preview = 0, Code = 1, Props = 2 } export interface PlaygroundProps { readonly children?: React.ReactNode; readonly code?: string; readonly exampleProps?: any; readonly title?: string; } declare class DocsPlayground extends React.Component { readonly state: { playgroundTab: number; }; swapTab(tab: any): void; getCodeButton(): JSX.Element | null; getPropsButton(): JSX.Element | null; checkIfActive(tab: any): boolean; render(): JSX.Element; } export default DocsPlayground;