import { JDEvent } from "../jdom/event"; /** * The Jacdac bus */ export declare const bus: import("../jacdac").JDBus; /** * Tries to connect to a jacdac device. Must be called from a button handler */ export declare function connect(): Promise; /** * Disconnects the bus from any connected device */ export declare function disconnect(): Promise; export declare let connectBtn: any; export declare let devtoolsBtn: any; /** * Creates a Jacdac "connect" button that disappears when connected. * @returns a button element */ export declare function createConnectButton(): any; /** * Creates a Jacdac "dev tools" button that disappears when clicked. * @returns a button element */ export declare function createDevToolsButton(): any; /** * Call this function in `setup` to show a debug button to enter split mode. */ export declare function debug(): void; /** * An snapshot of the all sensor values observed by Jacdac * @category p5js */ export declare const sensors: Record[]>; /** * Registration for each available event in Jacdac * @category p5js */ export declare const events: Record void) => void>>; //# sourceMappingURL=p5.jacdac.d.ts.map