{"version":3,"file":"request-snaps.cjs","sourceRoot":"","sources":["../../../src/types/methods/request-snaps.ts"],"names":[],"mappings":"","sourcesContent":["import type { JsonRpcError } from '@metamask/utils';\n\nimport type { Snap } from '../snap';\n\n/**\n * An object mapping the IDs of the requested Snaps to optional SemVer version\n * ranges. The SemVer version ranges use the same semantics as NPM\n * `package.json` ranges.\n */\nexport type RequestSnapsParams = Record<string, { version?: string }>;\n\n/**\n * An object mapping the IDs of the requested Snaps to either the installed Snap\n * or an error if the Snap failed to install or was not permitted.\n */\nexport type RequestSnapsResult = Record<string, { error: JsonRpcError } | Snap>;\n"]}