import { AddCountTransferRestrictionParams, AddPercentageTransferRestrictionParams, Context, Namespace, SecurityToken, SetCountTransferRestrictionsParams, SetPercentageTransferRestrictionsParams } from "../../../../internal";
import { ActiveTransferRestrictions, CountTransferRestriction, PercentageTransferRestriction, ProcedureMethod, TransferRestrictionType } from "../../../../types";
declare type AddRestrictionParams<T> = Omit<T extends TransferRestrictionType.Count ? AddCountTransferRestrictionParams : AddPercentageTransferRestrictionParams, 'type'>;
declare type SetRestrictionsParams<T> = Omit<T extends TransferRestrictionType.Count ? SetCountTransferRestrictionsParams : SetPercentageTransferRestrictionsParams, 'type'>;
declare type GetReturnType<T> = ActiveTransferRestrictions<T extends TransferRestrictionType.Count ? CountTransferRestriction : PercentageTransferRestriction>;
/**
 * Base class for managing Transfer Restrictions
 */
export declare abstract class TransferRestrictionBase<T extends TransferRestrictionType> extends Namespace<SecurityToken> {
    protected abstract type: T;
    /**
     * @hidden
     */
    constructor(parent: SecurityToken, context: Context);
    /**
     * Add a Transfer Restriction of the corresponding type to this Security Token
     *
     * @note the result is the total amount of restrictions after the procedure has run
     */
    addRestriction: ProcedureMethod<AddRestrictionParams<T>, number>;
    /**
     * Sets all Transfer Restrictions of the corresponding type on this Security Token
     *
     * @note the result is the total amount of restrictions after the procedure has run
     */
    setRestrictions: ProcedureMethod<SetRestrictionsParams<T>, number>;
    /**
     * Removes all Transfer Restrictions of the corresponding type from this Security Token
     *
     * @note the result is the total amount of restrictions after the procedure has run
     */
    removeRestrictions: ProcedureMethod<void, number>;
    /**
     * Retrieve all active Transfer Restrictions of the corresponding type
     *
     * @note there is a maximum number of restrictions allowed accross all types.
     *   The `availableSlots` property of the result represents how many more restrictions can be added
     *   before reaching that limit
     */
    get(): Promise<GetReturnType<T>>;
}
export {};
//# sourceMappingURL=TransferRestrictionBase.d.ts.map