export declare const ASC = "asc"; export declare const DESC = "desc"; /** * @typedef {object} PriorityMap * @property {Function} addItem Adds items to the priority map. * @property {Function} getItems Gets items from the passed map in a ASC or DESC order of priorities. */ /** * Creates a new priority map. * * @param {object} config The config for priority map. * @param {Function} config.errorPriorityExists The function to generate a custom error message if priority is already taken. * @param {Function} config.errorPriorityNaN The function to generate a custom error message if priority is not a number. * @returns {PriorityMap} */ export declare function createPriorityMap({ errorPriorityExists, errorPriorityNaN }?: { errorPriorityExists?: Function; errorPriorityNaN?: Function; }): { addItem: (priority: number, item: unknown) => void; getItems: (order?: string) => unknown[]; };