import { IFolder } from '../../node/index.ts'; import { NewMenuEntry, NewMenu } from './NewMenu.ts'; /** * Get the NewMenu instance used by the files app. */ export declare function getNewFileMenu(): NewMenu; /** * Add a new menu entry to the upload manager menu * * @param entry - The new file menu entry */ export declare function addNewFileMenuEntry(entry: NewMenuEntry): void; /** * Remove a previously registered entry from the upload menu * * @param entry - Entry or id of entry to remove */ export declare function removeNewFileMenuEntry(entry: NewMenuEntry | string): void; /** * Get the list of registered entries from the upload menu * * @param context - The current folder to get the available entries */ export declare function getNewFileMenuEntries(context?: IFolder): NewMenuEntry[];