import { ICommand } from '@univerjs/core';
import { IRangeProtectionRule } from '@univerjs/sheets';
import { IPermissionPanelRule } from '../../services/permission/sheet-permission-panel.model';
export interface IAddRangeProtectionParams {
    permissionId: string;
    rule: IRangeProtectionRule;
}
export type ISetRangeProtectionParams = IAddRangeProtectionParams;
export interface IDeleteRangeProtectionParams {
    unitId: string;
    subUnitId: string;
    rule: IRangeProtectionRule;
}
export interface ISetProtectionParams {
    rule: IPermissionPanelRule;
}
export declare const AddRangeProtectionFromToolbarCommand: ICommand;
export declare const AddRangeProtectionFromContextMenuCommand: ICommand;
export declare const ViewSheetPermissionFromContextMenuCommand: ICommand;
export declare const AddRangeProtectionFromSheetBarCommand: ICommand;
export declare const ViewSheetPermissionFromSheetBarCommand: ICommand;
export declare const AddRangeProtectionCommand: ICommand<IAddRangeProtectionParams>;
export declare const DeleteRangeSelectionCommand: ICommand<IDeleteRangeProtectionParams>;
export declare const SetRangeProtectionCommand: ICommand<ISetRangeProtectionParams>;
export declare const DeleteRangeProtectionFromContextMenuCommand: ICommand;
export declare const SetRangeProtectionFromContextMenuCommand: ICommand;
export declare const SetProtectionCommand: ICommand<ISetProtectionParams>;
