///
import { mkdir, readdir, readFile, stat, unlink, writeFile } from 'fs';
export declare const statWithPromise: typeof stat.__promisify__;
export declare const mkdirWithPromise: typeof mkdir.__promisify__;
export declare const readdirWithPromise: typeof readdir.__promisify__;
export declare const readFileWithPromise: typeof readFile.__promisify__;
export declare const unlinkWithPromise: typeof unlink.__promisify__;
export declare const writeFileWithPromise: typeof writeFile.__promisify__;
export declare const rimrafWithPromise: Function;
export declare enum MessageType {
Error = "err",
Warning = "war",
Information = "info"
}
/**
* Validate a given JSON Schema
* @param {Object} schema the json schema, that will be validated
* @param {function} callback forwards the current status to the caller
*/
export declare const validateUiSchema: (schema: Object) => Promise;
/**
* Show message within the editor
* @param {any} editorInstance the instance of the editor
* @param {string} message the message that should be displayed
* @param {string} type the optional type of the message
*/
export declare const showMessage: (editorInstance: any, message: string, type?: string | undefined) => Promise;