/**
* Copyright (c) 2017-present, RobotlegsJS. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { IPrioritySignal } from "./IPrioritySignal";
import { ISlot } from "./ISlot";
import { Signal } from "./Signal";
export declare class PrioritySignal extends Signal implements IPrioritySignal {
/**
* @inheritDoc
* @throws flash.errors.IllegalOperationError IllegalOperationError: You cannot addOnce() then add() the same listener without removing the relationship first.
* @throws ArgumentError ArgumentError: Given listener is null.
*/
addWithPriority(listener: Function, priority?: number): ISlot;
/**
* @inheritDoc
* @throws flash.errors.IllegalOperationError IllegalOperationError: You cannot addOnce() then add() the same listener without removing the relationship first.
* @throws ArgumentError ArgumentError: Given listener is null.
*/
addOnceWithPriority(listener: Function, priority?: number): ISlot;
protected registerListener(listener: Function, once?: boolean): ISlot;
protected registerListenerWithPriority(listener: Function, once: boolean, priority?: number): ISlot;
}