import { LocalStorage } from '@shopify/cli-kit/node/local-storage'; export interface StoredStoreAppSession { store: string; clientId: string; userId: string; accessToken: string; refreshToken?: string; scopes: string[]; acquiredAt: string; expiresAt?: string; refreshTokenExpiresAt?: string; associatedUser?: { id: number; email?: string; firstName?: string; lastName?: string; accountOwner?: boolean; }; } interface StoredStoreAppSessionBucket { currentUserId: string; sessionsByUserId: { [userId: string]: StoredStoreAppSession; }; } interface StoreSessionSchema { [key: string]: StoredStoreAppSessionBucket; } export declare function getCurrentStoredStoreAppSession(store: string, storage?: LocalStorage): StoredStoreAppSession | undefined; export declare function setStoredStoreAppSession(session: StoredStoreAppSession, storage?: LocalStorage): void; export declare function clearStoredStoreAppSession(store: string, userIdOrStorage?: string | LocalStorage, maybeStorage?: LocalStorage): void; export {};