import type { ScaiClient } from "../connect.js"; export interface RemoveRefArgs { itemId: string; fieldName: string; /** GUID to remove. Matched case-insensitively, with or without braces. */ refToRemove: string; /** When false (default), no mutation is made — returns the diff only. */ allowWrite?: boolean; } export interface RemoveRefResult { changed: boolean; before: string; after: string; /** True when the helper made the wire call. False on dry-run or no-op. */ applied: boolean; } /** * Remove a specific GUID from a multilist-shaped field on a single * item. The match is case-insensitive and brace-tolerant — both * `{ABC...}` and `abc...` shapes resolve to the same entry. * * Returns `changed: true` when the GUID was present in the field * (regardless of `allowWrite`). `applied: true` only when the * mutation actually reached the Authoring API. */ export declare const removeRef: (client: ScaiClient, args: RemoveRefArgs) => Promise;