import { CdkDrag, CdkDragDrop } from '@angular/cdk/drag-drop';
import { ControlValueAccessor, FormControl } from '@angular/forms';
import { NgmDSCoreService } from '@metad/ocap-angular/core';
import { NgmBaseEditorDirective } from '@metad/ocap-angular/formula';
import { DataSettings, EntityType, ParameterProperty, Syntax } from '@metad/ocap-core';
import { EntityCapacity } from '../entity-schema/types';
import * as i0 from "@angular/core";
export declare class NgmCalculatedMeasureComponent implements ControlValueAccessor {
    Syntax: typeof Syntax;
    EntityCapacity: typeof EntityCapacity;
    FUNCTIONS: any[];
    private readonly _dialog;
    private readonly _viewContainerRef;
    readonly dsCoreService: import("@angular/core").InputSignal<NgmDSCoreService>;
    readonly dataSettings: import("@angular/core").InputSignal<DataSettings>;
    readonly entityType: import("@angular/core").InputSignal<EntityType>;
    readonly syntax: import("@angular/core").InputSignal<Syntax>;
    get story(): boolean | string;
    set story(value: boolean | string);
    private _story;
    readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, string | boolean>;
    readonly opened: import("@angular/core").InputSignalWithTransform<boolean, string | boolean>;
    editor: NgmBaseEditorDirective;
    readonly drawerOpened: import("@angular/core").ModelSignal<boolean>;
    calculatedMemberSearch: FormControl<string>;
    get calculatedMemberHighlight(): string;
    fnSearchControl: FormControl<string>;
    get fnHighlight(): string;
    readonly statement: FormControl<string>;
    calculations: any[];
    private _onChange;
    readonly editorOptions: import("@angular/core").WritableSignal<{
        wordWrap: boolean;
    }>;
    readonly calculations$: import("rxjs").Observable<import("@metad/ocap-core").CalculationProperty[]>;
    readonly parameters$: import("rxjs").Observable<ParameterProperty[]>;
    readonly functions$: import("rxjs").Observable<{
        label: string;
        expression: string;
        insertText: string;
        documentation: string;
    }[]>;
    constructor();
    writeValue(obj: any): void;
    registerOnChange(fn: any): void;
    registerOnTouched(fn: any): void;
    setDisabledState?(isDisabled: boolean): void;
    toggleSideMenu(): void;
    openCreateParameter(parameter?: ParameterProperty): Promise<void>;
    dropPredicate(item: CdkDrag<any>): boolean;
    drop(event: CdkDragDrop<Array<{
        name: string;
    }>>): void;
    onBlur(): void;
    toggleWrap(): void;
    openHelp(event: any): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<NgmCalculatedMeasureComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<NgmCalculatedMeasureComponent, "ngm-calculated-measure", never, { "dsCoreService": { "alias": "dsCoreService"; "required": false; "isSignal": true; }; "dataSettings": { "alias": "dataSettings"; "required": false; "isSignal": true; }; "entityType": { "alias": "entityType"; "required": false; "isSignal": true; }; "syntax": { "alias": "syntax"; "required": false; "isSignal": true; }; "story": { "alias": "story"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "opened": { "alias": "opened"; "required": false; "isSignal": true; }; "drawerOpened": { "alias": "drawerOpened"; "required": false; "isSignal": true; }; }, { "drawerOpened": "drawerOpenedChange"; }, never, ["[icon]", ".ngm-calculated-measure__action"], true, never>;
}
