import React from 'react';
import { PythonEditorWorkspaceRequest, PythonProject } from '../vanilla/common.js';
import { PythonEditorFrameDriver } from '../vanilla/python-editor-frame-driver.js';
export interface PythonEditorFrameProps extends React.ComponentPropsWithoutRef<'iframe'> {
    version?: string;
    lang?: string;
    controller?: 1 | 2;
    queryParams?: Record<string, string>;
    initialProjects: () => Promise<PythonProject[]>;
    controllerId?: string;
    onWorkspaceLoaded?(event: PythonEditorWorkspaceRequest): void;
    onWorkspaceSync?(event: PythonEditorWorkspaceRequest): void;
    onWorkspaceSave?(event: PythonEditorWorkspaceRequest): void;
}
declare const PythonEditorFrame: React.ForwardRefExoticComponent<PythonEditorFrameProps & React.RefAttributes<PythonEditorFrameDriver>>;
export default PythonEditorFrame;
