import type { AltEditorLiteOptions } from './alt-editor-lite-options.js'; import type { EditorState } from './editor-state.js'; import type { DeepPartial, EditorValues } from './editor-values.js'; import type { FieldController } from '../fields/field-controller.js'; import type { EditorHost } from '../host/editor-host.js'; import type { HostInlineState } from '../host/inline-host-runtime.js'; import type { FieldPath, FieldPathValue } from '../object-path/field-path.js'; /** Lightweight CRUD editor operating through a neutral record host. */ export declare class AltEditorLite, TTarget = unknown> { private readonly host; private readonly capabilities; private readonly instanceId; private readonly language; private readonly interactionCoordinator; private readonly operationOwner; private readonly stateCoordinator; private readonly inlineController; private readonly dialogController; private readonly refreshOperationRunner; /** Creates the sole active editor for one Host ownership identity. */ constructor(host: EditorHost, options: AltEditorLiteOptions); /** Opens the Create dialog with optional partial form values. */ openCreateDialog(initialValues?: Readonly>): Promise; /** Opens Dialog Edit for one explicit or selected Host target. */ openEditDialog(target?: TTarget): Promise; /** Opens Dialog Edit for two or more explicit or selected Host targets. */ openBatchEditDialog(targets?: readonly TTarget[]): Promise; /** Opens Remove confirmation for explicit or selected Host targets. */ openRemoveDialog(targets?: readonly TTarget[]): Promise; /** Runs the configured Host refresh operation. */ refresh(): Promise; /** Closes an active operation dialog. */ closeDialog(): Promise; /** Retrieves a rendered dialog field controller by safe path. */ getField>(name: TPath): FieldController> | null; /** Returns the current readonly lifecycle state. */ getState(): Readonly; /** Opens one eligible inline target supplied by a Host integration. */ openInlineEdit(target: unknown): Promise; /** Validates and submits the active inline candidate. */ submitInlineEdit(): Promise; /** Cancels the active inline session and safely restores its presentation. */ cancelInlineEdit(): Promise; /** Returns the independent inline presentation state. */ getInlineState(): Readonly; /** Returns whether inline activation, validation, or submission is active. */ isInlineEditing(): boolean; /** Aborts owned work, removes DOM and listeners, and releases the Host. */ destroy(): void; private assertInlineEditAvailable; private notifyIntegration; private synchronizeHostPresentation; private getIntegrationButtonStateInput; }