UNPKG

@alilc/lowcode-editor-core

Version:

Core Api for Ali lowCode engine

14 lines (13 loc) 619 B
import { ReactNode } from 'react'; import { globalLocale } from './global-locale'; import { IPublicTypeI18nData } from '@alilc/lowcode-types'; export declare function intl(data: IPublicTypeI18nData | string, params?: object): ReactNode; export declare function shallowIntl(data: any): any; export declare function intlNode(data: any, params?: object): ReactNode; export declare function createIntl(instance: string | object): { intlNode(id: string, params?: object): ReactNode; intl(id: string, params?: object): string; getLocale(): string; setLocale(locale: string): void; }; export { globalLocale };