/**
 * @license
 * Copyright 2025 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import { TrustLevel } from '../../config/trustedFolders.js';
import { type UseHistoryManagerReturn } from './useHistoryManager.js';
export declare const useTrustModify: (onExit: () => void, addItem: UseHistoryManagerReturn["addItem"]) => {
    cwd: string;
    currentTrustLevel: TrustLevel;
    isInheritedTrustFromParent: boolean;
    isInheritedTrustFromIde: boolean;
    needsRestart: boolean;
    updateTrustLevel: (trustLevel: TrustLevel) => void;
    commitTrustLevelChange: () => void;
    isFolderTrustEnabled: boolean;
};
