declare const SALEOR_EVENT_HEADER = "saleor-event"; declare const SALEOR_SIGNATURE_HEADER = "saleor-signature"; declare const SALEOR_AUTHORIZATION_BEARER_HEADER = "authorization-bearer"; declare const SALEOR_API_URL_HEADER = "saleor-api-url"; /** * Available when Saleor executes "manifest" or "token exchange" requests. */ declare const SALEOR_SCHEMA_VERSION_HEADER = "saleor-schema-version"; /** * Extracts Saleor-specific headers from the response. */ declare const getSaleorHeaders: (headers: { [name: string]: string | string[] | undefined; }) => { authorizationBearer: string | undefined; signature: string | undefined; event: string | undefined; saleorApiUrl: string | undefined; schemaVersion: string | undefined; }; /** * Extracts the app's url from headers from the response. */ declare const getBaseUrl: (headers: { [name: string]: string | string[] | undefined; }) => string; export { SALEOR_API_URL_HEADER, SALEOR_AUTHORIZATION_BEARER_HEADER, SALEOR_EVENT_HEADER, SALEOR_SCHEMA_VERSION_HEADER, SALEOR_SIGNATURE_HEADER, getBaseUrl, getSaleorHeaders };