import type { Caveat } from "@metamask/permission-controller"; import type { Json, JsonRpcRequest } from "@metamask/utils"; export type GetSessionHandlerHooks = { getCaveat: (permission: string, caveatType: string) => Caveat | undefined; }; /** * A handler that implements a simplified version of `wallet_getSession`. * * @param _request - Incoming JSON-RPC request. Ignored for this specific * handler. * @param hooks - The method hooks. * @returns The JSON-RPC response. */ export declare function getSessionHandler(_request: JsonRpcRequest, hooks: GetSessionHandlerHooks): { sessionScopes: import("@metamask/chain-agnostic-permission").NormalizedScopesObject; }; //# sourceMappingURL=get-session.d.cts.map