UNPKG

@metamask/snaps-rpc-methods

Version:
32 lines 3.49 kB
import type { CancelBackgroundEventMethodActions } from "./cancelBackgroundEvent.cjs"; import type { ClearStateMethodActions } from "./clearState.cjs"; import type { CloseWebSocketMethodActions } from "./closeWebSocket.cjs"; import type { CreateInterfaceMethodActions } from "./createInterface.cjs"; import type { EndTraceMethodActions, EndTraceMethodHooks } from "./endTrace.cjs"; import type { GetAllSnapsMethodActions } from "./getAllSnaps.cjs"; import type { GetBackgroundEventsMethodActions } from "./getBackgroundEvents.cjs"; import type { GetClientStatusMethodActions, GetClientStatusMethodHooks } from "./getClientStatus.cjs"; import type { GetFileMethodActions } from "./getFile.cjs"; import type { GetInterfaceContextMethodActions } from "./getInterfaceContext.cjs"; import type { GetInterfaceStateMethodActions } from "./getInterfaceState.cjs"; import type { GetSnapsMethodActions } from "./getSnaps.cjs"; import type { GetStateMethodActions, GetStateMethodHooks } from "./getState.cjs"; import type { GetWebSocketsMethodActions } from "./getWebSockets.cjs"; import type { InvokeKeyringMethodActions, InvokeKeyringMethodHooks } from "./invokeKeyring.cjs"; import type { InvokeSnapSugarMethodActions } from "./invokeSnapSugar.cjs"; import type { ListEntropySourcesMethodActions, ListEntropySourcesMethodHooks } from "./listEntropySources.cjs"; import type { MessengerCallMethodActions, MessengerCallMethodHooks } from "./messengerCall.cjs"; import type { OpenWebSocketMethodActions } from "./openWebSocket.cjs"; import type { RequestSnapsMethodActions } from "./requestSnaps.cjs"; import type { ResolveInterfaceMethodActions } from "./resolveInterface.cjs"; import type { ScheduleBackgroundEventMethodActions } from "./scheduleBackgroundEvent.cjs"; import type { SendWebSocketMessageMethodActions } from "./sendWebSocketMessage.cjs"; import type { SetStateMethodActions, SetStateMethodHooks } from "./setState.cjs"; import type { StartTraceMethodActions, StartTraceMethodHooks } from "./startTrace.cjs"; import type { TrackErrorMethodActions, TrackErrorMethodHooks } from "./trackError.cjs"; import type { TrackEventMethodActions, TrackEventMethodHooks } from "./trackEvent.cjs"; import type { UpdateInterfaceMethodActions } from "./updateInterface.cjs"; export type PermittedRpcMethodActions = CancelBackgroundEventMethodActions | ClearStateMethodActions | CloseWebSocketMethodActions | CreateInterfaceMethodActions | EndTraceMethodActions | GetAllSnapsMethodActions | GetBackgroundEventsMethodActions | GetClientStatusMethodActions | GetFileMethodActions | GetInterfaceContextMethodActions | GetInterfaceStateMethodActions | GetSnapsMethodActions | GetStateMethodActions | GetWebSocketsMethodActions | InvokeKeyringMethodActions | InvokeSnapSugarMethodActions | ListEntropySourcesMethodActions | OpenWebSocketMethodActions | RequestSnapsMethodActions | ResolveInterfaceMethodActions | ScheduleBackgroundEventMethodActions | SendWebSocketMessageMethodActions | SetStateMethodActions | StartTraceMethodActions | TrackErrorMethodActions | TrackEventMethodActions | UpdateInterfaceMethodActions | MessengerCallMethodActions; export type PermittedRpcMethodHooks = GetClientStatusMethodHooks & GetStateMethodHooks & ListEntropySourcesMethodHooks & SetStateMethodHooks & TrackEventMethodHooks & TrackErrorMethodHooks & StartTraceMethodHooks & EndTraceMethodHooks & InvokeKeyringMethodHooks & MessengerCallMethodHooks; export * from "./middleware.cjs"; //# sourceMappingURL=index.d.cts.map