import type { AccountsControllerGetAccountAction, AccountsControllerGetAccountByAddressAction, AccountsControllerListMultichainAccountsAction } from "@metamask/accounts-controller"; import type { RestrictedMessenger } from "@metamask/base-controller"; import type { KeyringControllerGetStateAction, KeyringControllerStateChangeEvent, KeyringControllerWithKeyringAction } from "@metamask/keyring-controller"; import type { HandleSnapRequest as SnapControllerHandleSnapRequestAction } from "@metamask/snaps-controllers"; /** * All actions that {@link MultichainAccountService} registers so that other * modules can call them. */ export type MultichainAccountServiceActions = never; /** * All events that {@link MultichainAccountService} publishes so that other modules * can subscribe to them. */ export type MultichainAccountServiceEvents = never; /** * All actions registered by other modules that {@link MultichainAccountService} * calls. */ export type AllowedActions = AccountsControllerListMultichainAccountsAction | AccountsControllerGetAccountAction | AccountsControllerGetAccountByAddressAction | SnapControllerHandleSnapRequestAction | KeyringControllerWithKeyringAction | KeyringControllerGetStateAction; /** * All events published by other modules that {@link MultichainAccountService} * subscribes to. */ export type AllowedEvents = KeyringControllerStateChangeEvent; /** * The messenger restricted to actions and events that * {@link MultichainAccountService} needs to access. */ export type MultichainAccountServiceMessenger = RestrictedMessenger<'MultichainAccountService', MultichainAccountServiceActions | AllowedActions, MultichainAccountServiceEvents | AllowedEvents, AllowedActions['type'], AllowedEvents['type']>; //# sourceMappingURL=types.d.cts.map