UNPKG

jodit-pro

Version:

PRO Version of Jodit Editor

25 lines (24 loc) 812 B
import type { IViewBased } from "jodit/esm/types/index"; import type { IToolCall, ToolPermissionScope } from "../../interface/index"; import { UIElement } from "jodit/esm/core/ui/index"; export declare class UIPermissionRequest extends UIElement<IViewBased> { private state; className(): string; private toolCall; private scopeSelect; private approveButton; private denyButton; constructor(view: IViewBased, state: { defaultPermissionScope: ToolPermissionScope; }); setToolCall(toolCall: IToolCall): void; setParentView(jodit: IViewBased): this; protected render(): string; protected afterRender(): void; private createControls; updateContent(): void; private formatArguments; private onApprove; private onDeny; destruct(): void; }