{"version":3,"file":"end-trace.mjs","sourceRoot":"","sources":["../../../src/types/methods/end-trace.ts"],"names":[],"mappings":"","sourcesContent":["import type { TraceName } from './start-trace';\n\n/**\n * A request to end a pending trace.\n */\nexport type EndTraceRequest = {\n  /**\n   * The unique identifier of the trace.\n   * Defaults to 'default' if not provided.\n   */\n  id?: string;\n\n  /**\n   * The name of the trace.\n   */\n  name: TraceName;\n\n  /**\n   * Override the end time of the trace.\n   */\n  timestamp?: number;\n};\n\n/**\n * The request parameters for the `snap_endTrace` method. This method is used\n * to end a performance trace in Sentry.\n *\n * Note that this method is only available to preinstalled Snaps.\n */\nexport type EndTraceParams = EndTraceRequest;\n\n/**\n * The result returned by the `snap_endTrace` method.\n */\nexport type EndTraceResult = null;\n"]}