import IForEachInterface from "./IForEachInterfaceList"; import ISortInterface from "./ISortInterface"; /** * Interface for lists (delegating further interfaces) */ export interface IList { /** * Interface to handle forEach loops */ forEach(callback: IForEachInterface): void; /** * Interface to handle sorting */ sort(sortFunction: ISortInterface): void; }