import { GraphxrReduxState } from "./redux/getReduxState"; import { Brand } from "./typescript/brand"; export type GraphxrEvent = "change" | "select" | "nearby" | "load"; export type GraphxrEventCallback = ((event: GraphxrEvent, data?: unknown) => void) & { previousState?: GraphxrReduxState; }; export type GraphxrEventCallbackId = Brand; export declare function on(event: GraphxrEvent, callback: GraphxrEventCallback, callbackId?: GraphxrEventCallbackId): GraphxrEventCallbackId;