import { type Connector, type ConnectorEventMap, type EventData, type State, type Storage, type WalletConnector, type WalletConnectorType } from '@particle-network/connector-core'; import type { Plugin } from '@particle-network/plugin-core'; import type { Chain } from 'viem/chains'; import { type StoreApi } from 'zustand/vanilla'; import type { Appearance, ConnectKitOptions } from './context/types'; export declare const createConfig: (options: ConnectKitOptions) => Config; export type Config = { readonly uid: string; readonly options: ConnectKitOptions; readonly plugins: Plugin[]; readonly chains: readonly [Chain, ...Chain[]]; readonly connectors: readonly Connector[]; readonly storage: Storage | null; readonly walletConnectors: readonly WalletConnector[]; readonly state: State; readonly appearanceStore: StoreApi; setState(value: State | ((state: State) => State)): void; subscribe(selector: (state: State) => state, listener: (state: state, previousState: state) => void, options?: { emitImmediately?: boolean | undefined; equalityFn?: ((a: state, b: state) => boolean) | undefined; } | undefined): () => void; getWalletConnector: = Record>(type: WalletConnectorType) => WalletConnector | undefined; _internal: { connectors: { setup(connector: Connector): Connector; subscribe(listener: (state: Connector[], prevState: Connector[]) => void): () => void; }; events: { change(data: EventData): void; connect(data: EventData): void; disconnect(data: EventData): void; }; }; };