@arcgis/coding-components
Version:
Contains components for editing code in different languages. The currently supported languages are html, css, json, TypeScript, JavaScript, and Arcade.
10 lines (9 loc) • 657 B
TypeScript
import { ApiProfile } from '@arcgis/languages-api-utils';
import { EditorProfile } from '../profile/editor-profile';
import { IPredefinedProfile, IEditorProfileDefinition } from '../profile/types';
/**
* Converts an editor profile to an api profile.
* The api profile is an optimized version of the editor profile designed for minimal data transfer between the main thread and the worker.
*/
export declare function arcadeEditorToApiProfile(editorProfile: EditorProfile): Promise<ApiProfile>;
export declare function convertToEditorProfileDefinition(predefinedProfile: IPredefinedProfile, locale?: string): Promise<IEditorProfileDefinition | undefined>;