{"version":3,"file":"update-interface.mjs","sourceRoot":"","sources":["../../../src/types/methods/update-interface.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentOrElement, InterfaceContext } from '..';\n\n/**\n * The request parameters for the `snap_createInterface` method.\n *\n * @property id - The interface id.\n * @property ui - The components to display in the interface.\n */\nexport type UpdateInterfaceParams = {\n  id: string;\n  ui: ComponentOrElement;\n  context?: InterfaceContext;\n};\n\n/**\n * The result returned by the `snap_updateInterface` method.\n */\nexport type UpdateInterfaceResult = null;\n"]}