export interface QueueMethods { add: (item: T) => void; remove: () => T; first: T; last: T; size: number; } declare const useQueue: (initialValue?: T[]) => QueueMethods; export default useQueue;