import { Context } from "./context/Context"; /** * Returns the default system-wide [[Context]] * @category Core */ export declare function getContext(): Context; /** * Set the default audio context * @category Core */ export declare function setContext(context: Context | AudioContext | OfflineAudioContext): void; /** * Most browsers will not play _any_ audio until a user * clicks something (like a play button). Invoke this method * on a click or keypress event handler to start the audio context. * More about the Autoplay policy * [here](https://developers.google.com/web/updates/2017/09/autoplay-policy-changes#webaudio) * @example * document.querySelector('#playbutton').addEventListener('click', async () => { * await Tone.start() * console.log('audio ready') * }) * @category Core */ export declare function start(): Promise;