import { EthereumAction } from './ethereum'; export type HandshakeAction = { kind: 'handshake'; appId: string; callback: string; appName?: string; appIconUrl?: string; }; export type RequestAction = { id: number; kind: 'request'; method: string; params: Record; optional: boolean; }; export type EthereumRequestAction = EthereumAction & { id: number; kind: 'request'; optional: boolean; }; export type Action = HandshakeAction | RequestAction | EthereumRequestAction; export declare function isHandshakeAction(action: Action): action is HandshakeAction; export declare function isEthereumAction(action: Action): action is EthereumRequestAction; //# sourceMappingURL=action.d.ts.map