import { Bindings } from '../../run/types'; import { Engine } from '../../run/types'; import { CoreRawModuleWithDependencies } from '../../stdlib/core/bindings-assemblyscript'; import { MsgRawModuleWithDependencies } from '../../stdlib/msg/bindings-assemblyscript'; import { EngineContext } from './types'; export interface EngineLifecycleRawModule { initialize: (sampleRate: number, blockSize: number) => void; dspLoop: () => void; metadata: WebAssembly.Global; } export type EngineLifecycleRawModuleWithDependencies = EngineLifecycleRawModule & MsgRawModuleWithDependencies & CoreRawModuleWithDependencies; interface EngineLifecycleBindings { initialize: Engine['initialize']; dspLoop: Engine['dspLoop']; } export declare const updateWasmInOuts: ({ refs, cache, }: EngineContext) => void; export declare const createEngineLifecycleBindings: (engineContext: EngineContext) => Bindings; export {};