export function replaceSelectionWithImagePlaceholder({ editorOptions, view, id }: {
    editorOptions: any;
    view: any;
    id: any;
}): void;
export function uploadAndInsertImage({ editor, view, file, size, id }: {
    editor: any;
    view: any;
    file: any;
    size: any;
    id: any;
}): Promise<void>;
export function addImageRelationship({ editor, path }: {
    editor: any;
    path: any;
}): string;
export function checkAndProcessImage({ getMaxContentSize, file }: {
    getMaxContentSize: any;
    file: any;
}): Promise<{
    file: any;
    size: {
        width: any;
        height: any;
    };
}>;
export function generateUniqueDocPrId(editor: any): string;
