/** * Typed wrapper for host statement push events. * * @example * ```ts * import { statements } from "@polkadot-apps/product-sdk"; * * const unsub = statements.onStatement((payload) => { * console.log("New statement:", payload); * }); * // later: unsub(); * ``` */ import type { HostEventMap } from "./types.js"; type Unsub = () => void; export declare function onStatement(cb: (payload: HostEventMap["statement"]) => void): Unsub; export {}; //# sourceMappingURL=statements.d.ts.map