import { ComponentPluginFactory, UIDLDependency, UIDLExternalDependency } from '@teleporthq/teleport-types'; import * as types from '@babel/types'; export declare const USE_ECOMMERCE_HOOK: UIDLDependency; export declare const USE_CART_HOOK: UIDLDependency; /** The blog's baked category taxonomy — see `blog/blog-context-generator.ts`. */ export declare const USE_BLOG_CATEGORIES_HOOK: UIDLDependency; /** The booking items' baked category taxonomy — see `bookings/booking-context-generator.ts`. */ export declare const USE_BOOKING_CATEGORIES_HOOK: UIDLDependency; export declare const USE_HELP_CATEGORIES_HOOK: UIDLDependency; export declare const USE_TRANSLATIONS_HOOK: UIDLExternalDependency; export declare const USE_ROUTER_HOOK: UIDLExternalDependency; export declare const NEXT_LINK: UIDLExternalDependency; export declare const USE_GLOBAL_CONTEXT_HOOK: UIDLDependency; /** * Declares `const router = useRouter()` at the top of a component that does * not have it yet, for a plugin running after this one that navigates in the * visitor's language (a form's redirect to a page). */ export declare const ensureRouterHook: (componentBody: types.BlockStatement, dependencies: Record) => void; /** `translate.raw('')`, with the key sanitized exactly like the messages file. */ export declare const buildTranslationLookup: (key: string) => types.CallExpression; /** * Declares `const translate = useTranslations()` at the top of a component * that does not have it yet, for a plugin running after this one that reads * translations at run time (a form's alert texts). */ export declare const ensureTranslateHook: (componentBody: types.BlockStatement, dependencies: Record) => void; export declare const createNextInternationalizationPlugin: ComponentPluginFactory<{}>; //# sourceMappingURL=locale-mapper-component.d.ts.map