export declare class FunctionQueue { static _defaultMaxFunctionQueueSize: number; queueBuffer: any[]; maxQueueSize: number; /** * Models a simple function queue * @param queueSize the maximum allowed queue size */ constructor(queueSize?: number); /** * Adds an item to this queue. * @param item item to add to this queue * @returns true if the item was added; otherwise false (queue is full) **/ enqueue(item: any): any; /** * Adds multiple items to this queue. * @param items items to add to this queue * @returns true if all the items were added; false if insufficient room */ enqueueMultiple(items: any): any; /** * Removes and returns an item from this queue. * @returns the item removed; otherwise an undefined is returned */ dequeue(): any; /** * Removes and returns up to a specified number of items from this queue. * @param count the # of items to remove (if more than contained in queue or negative, undefined is returned) * @returns an array of containing the items removed, or undefined if count is out of range. */ dequeueMultiple(count: any): any; /** * Removes all items from this queue. */ clear(): void; /** * Returns the # of items in this queue. * @returns the # of items in this queue. */ getSize(): number; /** * Returns the maximum capacity of this queue. * @returns the maximum capacity of this queue. */ getCapacity(): number; /** * Returns the space currently available for more items. * @returns the space currently available for more items. */ getAvailableSpace(): number; getQueueBuffer(): any[]; }