import { QueueOrder } from '../../domain.objects/constants'; /** * split the queued data into the selected and remainder data * * note * - this is the base function called by peek and pop * - this should not be called by users directly */ export declare const split: ({ data, order, slice, }: { data: T[]; order: QueueOrder; slice: { start: number; end: number; }; }) => { selection: T[]; remainder: T[]; };