/// <reference path="../../index.d.ts" />
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
import { ArcadeResult } from '../../utils/arcade-executor';

export type ResultPanelName = "console" | "log" | "output";
/** @private */
export declare class ArcgisArcadeResults extends LitElement {
    /** The console logs from the execution of an Arcade expression */
    consoleLogs?: string[];
    /**
     * Loading state
     *
     * @default false
     */
    loading?: boolean;
    /**
     * The result panel displayed
     *
     * @default "output"
     */
    openedResultPanel: ResultPanelName;
    /** The results from the execution of an Arcade expression */
    result?: ArcadeResult;
    /** Raise when the clode action has been activated */
    readonly arcgisClose: TargetedEvent<this, void>;
    /** Raised when the opened result panel has changed */
    readonly arcgisOpenedResultPanelChange: TargetedEvent<this, ResultPanelName>;
    "@eventTypes": {
        "arcgisClose": ArcgisArcadeResults["arcgisClose"]["detail"];
        "arcgisOpenedResultPanelChange": ArcgisArcadeResults["arcgisOpenedResultPanelChange"]["detail"];
    };
}
