import { NativeModule, requireNativeModule } from 'expo-modules-core'; import { BufferLevels } from '../bufferApi'; export type BufferModuleEvents = Record; declare class BufferModule extends NativeModule { /** * Get buffer level for the specified player and buffer type. */ getLevel(playerId: string, type: string): Promise; /** * Set target level for the specified player and buffer type. */ setTargetLevel(playerId: string, type: string, value: number): Promise; } export default requireNativeModule('BufferModule');