export declare function modeCommand(action: string, name?: string): Promise;