UNPKG

vue-intlayer

Version:

Easily internationalize i18n your Vue applications with type-safe multilingual content management.

17 lines 754 B
import { VNodeChild, App } from 'vue'; export declare const INTLAYER_MARKDOWN_SYMBOL: unique symbol; type RenderMarkdownFunction = (markdown: string) => VNodeChild; export type IntlayerMarkdownProvider = { renderMarkdown: RenderMarkdownFunction; }; /** * Create and return a single IntlayerMarkdownProvider instance */ export declare const createIntlayerMarkdownClient: (renderMarkdown: RenderMarkdownFunction) => IntlayerMarkdownProvider; /** * Helper to install the IntlayerMarkdown provider into the app */ export declare const installIntlayerMarkdown: (app: App, renderMarkdown: RenderMarkdownFunction) => void; export declare const useMarkdown: () => IntlayerMarkdownProvider; export {}; //# sourceMappingURL=installIntlayerMarkdown.d.ts.map