import { Token } from './Api'; export interface ApiConfig { uri: string; authHost: string; projectKey: string; clientId: string; clientSecret: string; scopes: string[]; } export interface Auth { onTokenChange?: (token: Token) => void; onTokenRead?: () => string; onTokenRemove?: () => void; } export interface StoreService { changeCurrentStore: (id: string) => void; } export interface CustomerCredentials { username: string; password: string; }