import * as React from 'react'; import { CodeSandboxImport, CodeSandboxLanguage } from './types'; export declare enum CodeSandboxState { Default = "DEFAULT", Loading = "LOADING", Success = "SUCCESS" } type CodeSandboxExporterProps = { children: (state: CodeSandboxState, onClick?: (e: React.SyntheticEvent) => void) => React.ReactNode; exampleCode: string; exampleLanguage: CodeSandboxLanguage; exampleName: string; imports: Record; }; type CodeSandboxExporterState = { exampleCode: string; examplePath: string; state: CodeSandboxState; sandboxUrl: string; }; export declare class CodeSandboxExporter extends React.Component { state: { exampleCode: string; examplePath: string; sandboxUrl: string; state: CodeSandboxState; }; codeSandboxerRef: React.RefObject<{ deployToCSB: Function; }>; static getDerivedStateFromProps(props: CodeSandboxExporterProps, state: CodeSandboxExporterState): Partial; handleDeploy: (embedUrl: string, sandboxId: string) => void; handleClick: (e: React.SyntheticEvent) => void; render(): JSX.Element; } export {};