import { AppConfig, AppMiddleware, ClientApplication, ClientApplicationCreator, ClientApplicationTransportInjector, Params } from './types'; export declare const WINDOW_UNDEFINED_MESSAGE = "window is not defined. Running an app outside a browser is not supported"; /** * Extracts the query parameters from the current URL. * @deprecated This function has been deprecated. * @public */ export declare function getUrlParams(): Params; /** * Extracts the `shop` query parameter from the current URL. * @deprecated This function has been deprecated, see {@link https://help.shopify.com/api/embedded-apps/shop-origin} * @public */ export declare function getShopOrigin(): string; /** * @internal */ export declare const createClientApp: ClientApplicationTransportInjector; /** * @public */ export declare function createAppWrapper(frame: Window, localOrigin?: string, middleware?: AppMiddleware[]): ClientApplicationCreator; /** * Creates your application instance. * @param config - Both `apiKey` and `shopOrigin` are required. * @remarks * You will need to store `shopOrigin` during the authentication process and then retrieve it for the code to work properly. To learn more about this process, see {@link https://help.shopify.com/api/embedded-apps/shop-origin | Getting and storing the shop origin}. * @public */ export declare function createApp(config: AppConfig): ClientApplication; /** * {@inheritdocs createApp} * @public */ export default createApp;