import { Pointers } from "@opendaw/studio-enums"; import { BooleanField, Box, Int32Field, PointerField, StringField } from "@opendaw/lib-box"; import { Maybe } from "@opendaw/lib-std"; export type DeviceBox = { host: PointerField; label: StringField; enabled: BooleanField; minimized: BooleanField; } & Box; export type InstrumentDeviceBox = { host: PointerField; } & DeviceBox; export type EffectDeviceBox = { host: PointerField; index: Int32Field; } & DeviceBox; export declare namespace DeviceBoxUtils { const isDeviceBox: (box: Box) => box is DeviceBox; const isInstrumentDeviceBox: (box: Box) => box is InstrumentDeviceBox; const isEffectDeviceBox: (box: Box) => box is EffectDeviceBox; const lookupHostField: (box: Maybe) => PointerField; const lookupLabelField: (box: Maybe) => StringField; const lookupEnabledField: (box: Maybe) => BooleanField; const lookupMinimizedField: (box: Maybe) => BooleanField; const lookupIndexField: (box: Maybe) => Int32Field; } //# sourceMappingURL=DeviceBox.d.ts.map