import * as Sandpack from '@codesandbox/sandpack-react';
import React from 'react';
interface CodeboxBaseProps {
    template?: Sandpack.SandpackPredefinedTemplate;
    options?: Sandpack.SandpackOptions;
    files?: Record<string, any>;
    dependencies?: Record<string, string>;
    autorun?: boolean;
    editorOnly?: boolean;
    renderOnly?: boolean;
}
interface CodeboxRenderOnly {
    autorun?: false;
    renderOnly: true;
}
interface CodeboxAutorun {
    autorun: true;
    renderOnly?: false;
}
declare type CodeboxProps = (CodeboxBaseProps & CodeboxRenderOnly) | (CodeboxBaseProps & CodeboxAutorun);
export declare const Codebox: React.FC<CodeboxProps>;
export {};
