import '../../../../_common/components/loader.js';
import { type Workspace } from '@blockeditor/store';
import { LitElement, type PropertyValues } from 'lit';
export type OnSuccessHandler = (pageIds: string[], isWorkspaceFile: boolean) => void;
export declare function importMarkDown(workspace: Workspace, text: string): Promise<string[]>;
export declare function importHtml(workspace: Workspace, text: string): Promise<string[]>;
export declare function importNotion(workspace: Workspace, file: File): Promise<{
    pageIds: string[];
    isWorkspaceFile: boolean;
}>;
declare const ImportDoc_base: typeof LitElement & import("@blockeditor/global/utils").Constructor<import("@blockeditor/lit").DisposableClass>;
/**
 * @deprecated Waiting for migration
 * See https://github.com/toeverything/blockeditor/issues/3316
 */
export declare class ImportDoc extends ImportDoc_base {
    private workspace;
    private onSuccess?;
    private abortController;
    static styles: import("lit").CSSResult;
    _loading: boolean;
    x: number;
    y: number;
    _startX: number;
    _startY: number;
    containerEl: HTMLElement;
    constructor(workspace: Workspace, onSuccess?: OnSuccessHandler | undefined, abortController?: AbortController);
    updated(changedProps: PropertyValues): void;
    private _onMouseDown;
    private _onMouseUp;
    private _onMouseMove;
    private _onCloseClick;
    private _onImportSuccess;
    private _importMarkDown;
    private _importHtml;
    private _importNotion;
    private _openLearnImportLink;
    render(): import("lit").TemplateResult<1>;
}
export {};
//# sourceMappingURL=import-doc.d.ts.map