/** * True while an explicit user/dialog mutation is in flight so * {@link ErrorToaster} can skip the global mutation toast. * React Query's mutation cache `onError` runs before `mutateAsync` rejects. */ export declare function isLocalMutationErrorPresentationActive(): boolean; export declare function resetLocalMutationErrorPresentationDepthForTests(): void; /** * Mark error presentation as locally owned for the duration of `execute`. * Does not swallow rejection — callers still `catch` and present, or rethrow. */ export declare function withLocalMutationErrorOwnership(execute: () => Promise): Promise; /** * Local error-presentation owner for explicit user / dialog mutations. * Call from `catch` after `mutateAsync` rejects. Does not swallow the * rejection — callers still let React Query mark the mutation failed. */ export declare function presentOwnedMutationError(error: unknown): void;