UNPKG

vtex

Version:

The platform for e-commerce apps

14 lines (13 loc) 511 B
interface SwitchOptions { showWelcomeMessage?: boolean; workspace?: string; gracefulAccountCheck?: boolean; } interface AccountReturnArgs { previousAccount: string; previousWorkspace: string; promptConfirmation?: boolean; } export declare const switchAccount: (targetAccount: string, options: SwitchOptions) => Promise<boolean>; export declare function returnToPreviousAccount({ previousAccount, previousWorkspace, promptConfirmation, }: AccountReturnArgs): Promise<boolean>; export {};