import { GraphQLClient } from 'graphql-request'; import type { CreditCardPaymentInputV2, TokenizedPaymentInputV3 } from '../generated/graphql'; import { getSdk } from '../generated/graphql'; import type { ExternalTypes } from '../typing'; import type { ExtraAccessScopes, OrderListExpansionOption, ProductIndexExpansionOption, ProductsExpansionOption, ShopifyConfig } from '../util/types'; export declare type Constructor = new (...args: any[]) => T; export declare class Base { constructor(config: ShopifyConfig); readonly minRefinements = 0; readonly config: ShopifyConfig; cartId?: string; payment?: Partial; readonly middleware: ShopifyConfig['middleware']; readonly client: GraphQLClient; readonly sdk: ReturnType; readonly persistentStorage: import('../util/PersistentStorage').PersistentStorageInterface; readonly refreshWindow: number; readonly network: ExternalTypes.FSNetwork; queueToken?: string; readonly testPayment: boolean; readonly retryTimeout: number; readonly extraAccessScopes: Set; readonly expansions: { productIndex: Set; products: Set; orderList: Set; }; parseConfigOption(availableOptions: readonly Key[], option?: Key[] | string): Set; getCustomerToken(): Promise; refreshToken(token: string): Promise; getCartId(getCheckoutIdFromAccount?: boolean): Promise; setCartId(cartId?: string): Promise; }