import * as React from 'react'; import { TranslationDictionary, PrimitiveReplacementDictionary, ComplexReplacementDictionary, WithAppProviderProps, CreatePolarisContext } from '../types'; import { Context } from '../AppProvider'; export declare function translate(id: string, translations: TranslationDictionary | TranslationDictionary[] | undefined, replacements?: PrimitiveReplacementDictionary | ComplexReplacementDictionary): string; export declare function withAppProvider(): (WrappedComponent: (React.ComponentClass & C) | (React.StatelessComponent & C)) => React.ComponentClass & C; export declare function withSticky(): (WrappedComponent: (React.ComponentClass & C) | (React.StatelessComponent & C)) => any; export declare function createPolarisContext({ i18n, linkComponent, apiKey, shopOrigin, forceRedirect, debug, stickyManager, }?: CreatePolarisContext): Context;