import { IRPCProtocol } from '@opensumi/ide-connection';
import { UriComponents, WithEventBus } from '@opensumi/ide-core-common';
import { INotebookService, NotebookDataDto } from '@opensumi/ide-editor';
import { IMainThreadNotebookDocumentsShape } from '../../../common/vscode';
export declare class MainThreadExtensionNotebook extends WithEventBus implements IMainThreadNotebookDocumentsShape {
    private rpcProtocol;
    private readonly proxy;
    private readonly docProxy;
    protected readonly notebookService: INotebookService;
    constructor(rpcProtocol: IRPCProtocol);
    protected listen(): void;
    $tryCreateNotebook(options: {
        viewType: string;
        content?: NotebookDataDto;
    }): Promise<UriComponents>;
    $tryOpenNotebook(uriComponents: UriComponents): Promise<UriComponents>;
    $trySaveNotebook(uri: UriComponents): Promise<boolean>;
}
//# sourceMappingURL=main.thread.notebook.d.ts.map