/** * Methods for accessing ToDesktop Menu Bar App specfic functionality. * * @remarks * This package exposes a number of methods for accessing ToDesktop Menu Bar App * specfic functionality. * * @experimental * @public * @packageDocumentation */ /** * @public */ export declare type MenuBarEvent = "show" | "hide"; /** * Enlarges the MenuBar view. * * @param size - Specifies the width and height to resize to. If not specified * the window will be resized to 800x1000. * @public */ export declare function enlarge(size?: { width: number; height: number; }): Promise; /** * Restores the MenuBar app to it's pre-defined size. * @public */ export declare function shrink(): Promise; /** * @public */ export declare const on: (event: "*" | MenuBarEvent, callback: (...any: any[]) => void) => Promise<() => Promise>;