import type { StateManager, AnyState, BackendBridge, WrapperOrWebContents } from '@zubridge/types';
import { StoreApi } from 'zustand';
import { Store } from 'redux';
import { ZustandOptions } from './adapters/zustand';
import { ReduxOptions } from './main';
/**
 * Creates a core bridge between the main process and renderer processes
 * This implements the Zubridge Electron backend contract without requiring a specific state management library
 */
export declare function createCoreBridge<State extends AnyState>(stateManager: StateManager<State>, initialWrappers?: WrapperOrWebContents[]): BackendBridge<number>;
/**
 * Internal utility to create a bridge from a store
 * This is used by createZustandBridge and createReduxBridge
 * @internal
 */
export declare function createBridgeFromStore<S extends AnyState = AnyState>(store: StoreApi<S> | Store<S>, windows?: WrapperOrWebContents[], options?: ZustandOptions<S> | ReduxOptions<S>): BackendBridge<number>;
