/** * CWI Factory - Creates WalletInterface implementations with pluggable transport */ import type { WalletInterface } from "@bsv/sdk"; import { CWIEventName } from "./types.js"; /** * Transport function signature - sends a message and returns response */ export type CWITransport = (action: CWIEventName, params: unknown) => Promise; /** * Create a WalletInterface implementation using the provided transport. * The transport handles the actual message passing (CustomEvent, chrome.runtime, etc.) */ export declare const createCWI: (transport: CWITransport) => WalletInterface;