export interface AppBridgeBase { /** * The static configuration values that will not change during runtime. */ config: { /** * The locale of the shop that's embedding the app. */ locale: string; }; /** * The Shopify surface that the app is embedded within. */ surface: 'checkout'; /** * The platform or application that the app is embedded within. */ platform: 'browser' | 'shop-app' | 'pos'; /** * The ID token providing a set of claims as a signed JSON Web Token (JWT) * with a TTL of 5 minutes. * * @see https://shopify.dev/docs/api/checkout-ui-extensions/unstable/apis/session-token * @see https://shopify.dev/docs/apps/build/authentication-authorization/session-tokens */ idToken: () => Promise; }