import { ConditionalModalState, TaskState } from '@wix/bex-core';
import type { ShowToast, Translate } from '@wix/bex-core';
import type { MessageModalLayoutProps } from '@wix/design-system';
import type { FieldActions } from '../../types/SchemaConfig';
import type { EditableTableFieldActionsPermissions } from './EditableTableState';
export declare class FieldActionsState {
    readonly handlers: FieldActions | undefined;
    readonly permissions: EditableTableFieldActionsPermissions | undefined;
    readonly translate: Translate;
    readonly showToast: ShowToast | undefined;
    private _currentToastRemove;
    readonly confirmModal: ConditionalModalState<Partial<MessageModalLayoutProps>>;
    readonly deleteTask: TaskState<unknown>;
    readonly makePrimaryTask: TaskState<unknown>;
    readonly duplicateTask: TaskState<unknown>;
    readonly duplicateWithContentTask: TaskState<unknown>;
    constructor(translate: Translate, handlers?: FieldActions, permissions?: EditableTableFieldActionsPermissions, showToast?: ShowToast);
    private _showToast;
    confirmDelete(fieldId: string): void;
    makePrimary(fieldId: string): Promise<void>;
    duplicate(fieldId: string): Promise<void>;
    duplicateWithContent(fieldId: string): Promise<void>;
    private _runDelete;
}
//# sourceMappingURL=FieldActionsState.d.ts.map