import { EditorProfile } from '../profile/editor-profile';
import { ApiProfile, ApiVariable } from '@arcgis/languages-api-utils';
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 const sqlExprEditorToApiProfile: (editorProfile: EditorProfile) => ApiProfile;
/**
 * converts a predefined editor profile to a IEditorProfileDefinition.
 * This is used to hydrate a profile definition from a predefined profile.
 */
export declare function convertToEditorProfileDefinition(predefinedProfile: IPredefinedProfile): IEditorProfileDefinition | undefined;
/**
 * util to retrieve fields from the $layer variable in the api context.
 */
export declare const getFieldsFromLayerVariable: (profile: ApiProfile) => ApiVariable[];
