import { OperatorFunction } from 'rxjs'; import { FxType } from '../types'; type Projector = (state: unknown) => T; type Selector = (...args: any[]) => Projector; /** * RxJS operator to apply a custom projection to the full mixer state. * @param projector Projector function generated by a selector */ export declare const select: (projector: Projector) => OperatorFunction; /** * RxJS operator to select a raw value from the mixer state. * @param path State key to select */ export declare const selectRawValue: (path: string, defaultValue?: T) => OperatorFunction; /** * RxJS operator to select a boolean (on/off) value from the mixer state. * The underlying numeric `0`/`1` value is coerced to `false`/`true`. * @param path State key to select * @param defaultValue Value to use when the state key is absent (default `false`) */ export declare const selectBoolean: (path: string, defaultValue?: boolean) => OperatorFunction; /** * Select level value of the master fader */ export declare const selectMasterValue: Selector; /** * Select pan value of the master fader */ export declare const selectMasterPan: Selector; /** * Select dim value of the master fader */ export declare const selectMasterDim: Selector; /** * Select delay value of the master output (L or R) */ export declare const selectMasterDelay: Selector; /** * Select pan value of a channel * @param channelType Type of the channel * @param channel Channel number * @param busType Type of the bus * @param bus bus number */ export declare const selectPan: Selector; /** * Select mute value of a channel * @param channelType * @param channel * @param busType * @param bus */ export declare const selectMute: Selector; /** * Select solo value of a channel * @param channelType * @param channel */ export declare const selectSolo: Selector; /** * Select fader value of a channel * @param channelType * @param channel * @param busType * @param bus */ export declare const selectFaderValue: Selector; /** * Select delay value of a master channel in ms * @param channelType * @param channel */ export declare const selectDelayValue: Selector; /** * Select "post" value of a send channel * @param channelType * @param channel */ export declare const selectPost: Selector; /** * Select "postproc" value of a send channel * @param channelType * @param channel * @param busType * @param bus */ export declare const selectPostProc: Selector; /** * Select BPM value of an FX bus * @param bus */ export declare const selectFxBpm: Selector; /** * Select FX type of an FX bus * @param channelType * @param channel */ export declare const selectFxType: Selector; /** * Select stereo index of a channel. * This will be -1 when no stereo link is active, 0 when the channel is left in the link, 1 if it's right * @param channelType * @param channel */ export declare const selectStereoIndex: Selector; /** * Select whether an AUX bus is currently configured as a matrix bus. * Only available on the Ui24R. Returns `true` or `false`. * @param bus AUX/matrix bus number */ export declare const selectMatrix: Selector; /** * Select phantom power state of a hardware channel * @param channel * @param key Type of the channel: `hw` or `i`, according to the mixer model */ export declare const selectPhantom: Selector; /** * Select linear gain level of a channel * @param channel * @param key Type of the channel: `hw` or `i`, according to the mixer model */ export declare const selectGain: Selector; /** * Select fader value of a volume bus (headphones or solo) * @param busName Name of the bus in the "settings" part of the state * @param busId Optional ID of the bus */ export declare const selectVolumeBusValue: Selector; /************** * PLAYER *************/ /** Select player current length */ export declare const selectPlayerLength: Selector; /** Select player current position */ export declare const selectPlayerCurrentTrackPos: Selector; /** Select player elapsed time */ export declare const selectPlayerElapsedTime: Selector; /** Select player remaining time */ export declare const selectPlayerRemainingTime: Selector; /************** * MULTITRACK *************/ /** Select player current length */ export declare const selectMtkLength: Selector; /** Select player current position */ export declare const selectMtkCurrentTrackPos: Selector; /** Select player elapsed time */ export declare const selectMtkElapsedTime: Selector; /** Select player remaining time */ export declare const selectMtkRemainingTime: Selector; export {};