import type { ToolRegistrationContext } from "./middleware.js"; import { type WaiverRecord } from "../../core/waiver_store.js"; import type { DomainName } from "../../core/types.js"; /** sf_waiver 核心编排(可测,无 MCP)。所有写入经 WaiverStore。 */ export declare function runSfWaiver(projectPath: string, action: "create" | "list" | "revoke" | "baseline_register" | "baseline_reduce" | "baseline_remove" | "baseline_list", input: { confirm?: boolean; task_id?: string; domain?: DomainName; check_id?: string; scope?: "exact" | "check_id"; artifact_path?: string; finding_location?: string; reason?: string; waiver_id?: string; waiver_type?: "individual" | "structural"; conflict_source?: string; expires_at?: number; approved_by?: string; category?: string; path_pattern?: string; registered_count?: number; baseline_id?: string; cleanup_ref?: string; increase_action?: boolean; }): Promise<{ waiver?: WaiverRecord; waivers?: WaiverRecord[]; count?: number; revoked?: boolean; baseline?: unknown; baselines?: unknown[]; }>; export declare function registerSfWaiverTools(ctx: ToolRegistrationContext): Promise;