import type { Action, Store } from './store';
type ActionCreator
= (payload: P) => Action;
interface BridgeStore {
store: Store;
actions: {
[key: string]: ActionCreator;
};
}
export declare const registerBridgeStore: (...stores: BridgeStore[]) => void;
export declare const onStoreAction: (event: string, payload: T) => Promise;
export {};
//# sourceMappingURL=bridge.d.ts.map