import { Func, int, Option, Subscription, Terminable, UUID } from "@opendaw/lib-std"; import { Box, Field, Int32Field } from "@opendaw/lib-box"; import { Pointers } from "@opendaw/studio-enums"; import { AdapterCollectionListener } from "./BoxAdapterCollection"; import { BoxAdapter } from "./BoxAdapter"; export interface IndexedBoxAdapter extends BoxAdapter { indexField: Int32Field; } export interface IndexedAdapterCollectionListener extends AdapterCollectionListener { onReorder(adapter: A): void; } export declare class IndexedBoxAdapterCollection implements Terminable { #private; static create(field: Field

, provider: Func, pointers: P): IndexedBoxAdapterCollection; private constructor(); field(): Field

; subscribe(listener: IndexedAdapterCollectionListener): Subscription; catchupAndSubscribe(listener: IndexedAdapterCollectionListener): Subscription; getAdapterByIndex(index: int): Option; getAdapterById(uuid: UUID.Bytes): Option; getMinFreeIndex(): int; adapters(): ReadonlyArray; move(adapter: A, delta: int): void; moveIndex(startIndex: int, delta: int): void; size(): int; isEmpty(): boolean; terminate(): void; } //# sourceMappingURL=IndexedBoxAdapterCollection.d.ts.map