/** * Call this when a queue information is updated. * * Example: if data in the queue has been modified, the new queue information needs to be sent to the agent to see. * * - See [[registerQueueUpdate]] * @param queue An object of type any */ export declare function queueUpdate(queue: any): Promise; /** * Apps that handle queues should use this to recieve a new queue object when a queue is updated. * * - See [[queueUpdate]] * @param callback Called whenever an user preforms a queue update */ export declare function registerQueueUpdate(callback: (queue: any) => Promise): Promise; /** * Call this when an action on a queue is performed, an object is returned. * * - See [[registerQueueAction]] * @param queue An object of type any */ export declare function queueAction(queue: any): Promise; /** * Apps that handle queue actions should use this to register when an action on a queue is performed. * * - See [[queueAction]] * @param callback Called whenever an user preforms a queue action */ export declare function registerQueueAction(callback: (queue: any) => Promise): Promise;