/** * hang-start: begin a hang-capture session. Spawns a detached `simctl log stream` * whose output is written to the session's raw.log; parsing/clustering happens at hang-stop. */ export declare function hangStartTool(args: any): Promise<{ content: { type: "text"; text: string; }[]; }>; /** * hang-stop: stop a session's stream, parse raw.log through the pipeline, persist the * clustered summary, and return a token-budgeted view. */ export declare function hangStopTool(args: any): Promise<{ content: { type: "text"; text: string; }[]; }>; /** * hang-get-details: return the full L2 summary for a stopped session, or a specific * cluster's per-event detail when `cluster` (1-indexed) is given. */ export declare function hangGetDetailsTool(args: any): Promise<{ content: { type: "text"; text: string; }[]; }>; /** hang-list: list all hang-capture sessions, newest first. */ export declare function hangListTool(): Promise<{ content: { type: "text"; text: string; }[]; }>; export declare const HANG_START_DOCS = "# hang-start\n\nBegin a HangBuster capture session. Spawns a detached `simctl log stream` filtered to\nhang/stall/watchdog/jetsam events, writing to the session's raw log. Reproduce the hang,\nthen call `hang-stop` to parse, cluster, and rank the results.\n\n## Parameters\n- `udid` (optional): simulator UDID (default: booted)\n- `predicate` (optional): override the os_log predicate\n- `minHangMs` (optional, default 250): drop hang events shorter than this at stop time\n\n## Returns\n`sessionId` (pass to hang-stop / hang-get-details), pid, and guidance."; export declare const HANG_START_DOCS_MINI = "Start a hang-capture session. Use rtfm({ toolName: \"hang-start\" }) for docs."; export declare const HANG_STOP_DOCS = "# hang-stop\n\nStop a HangBuster session, parse its captured log through the clustering pipeline\n(parse \u2192 normalise \u2192 threshold \u2192 fingerprint \u2192 cluster \u2192 rank), persist the summary,\nand return a token-budgeted view (L0/L1/L2 auto-selected).\n\n## Parameters\n- `sessionId` (required): the session from hang-start\n- `topN` (optional): number of top clusters to keep (default 3)\n- `budgetTokens` (optional): cap output size; picks L0/L1/L2 to fit\n\n## Returns\nHang/cluster counts and a formatted summary. Drill deeper with hang-get-details."; export declare const HANG_STOP_DOCS_MINI = "Stop + analyze a hang session. Use rtfm({ toolName: \"hang-stop\" }) for docs."; export declare const HANG_GET_DETAILS_DOCS = "# hang-get-details\n\nReturn the full L2 summary for a stopped HangBuster session, or the per-event detail of a\nspecific cluster.\n\n## Parameters\n- `sessionId` (required)\n- `cluster` (optional, 1-indexed): drill into one cluster's events\n\n## Returns\nFormatted L2 summary (severity histogram, bursts, process distribution) or cluster detail."; export declare const HANG_GET_DETAILS_DOCS_MINI = "Get hang session details / cluster drill. Use rtfm({ toolName: \"hang-get-details\" }) for docs."; export declare const HANG_LIST_DOCS = "# hang-list\n\nList all HangBuster capture sessions (newest first) with status, device, and timestamps.\n\n## Parameters\nNone.\n\n## Returns\nArray of sessions with sessionId/status/udid/createdAt/stoppedAt."; export declare const HANG_LIST_DOCS_MINI = "List hang-capture sessions. Use rtfm({ toolName: \"hang-list\" }) for docs."; //# sourceMappingURL=tools.d.ts.map