@swell/cli
Version:
Swell's command line interface/utility
9 lines (8 loc) • 356 B
TypeScript
/**
* Get the session id for the passed in store. If the session is not found,
* open the browser to login and return the session id.
*
* @param storeId - The store to get the session id for
* @returns A promise that resolves to the session id
*/
export declare function getSessionIdOrLoginInBrowser(storeId?: string | undefined): Promise<string[]>;