@swell/cli
Version:
Swell's command line interface/utility
10 lines (9 loc) • 390 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
*/
declare function getSessionIdOrLoginInBrowser(storeId?: string | undefined): Promise<string[]>;
export { getSessionIdOrLoginInBrowser };