export declare function createMenu(options: { viewPath: string; code: string; }): Promise;