/**
 * Trust Folder Manager
 *
 * Manages a set of trusted directories. Tools that modify files or execute
 * commands are restricted to trusted directories only when trust enforcement
 * is enabled. Certain dangerous directories are always blocked.
 *
 * @module security
 */
export declare class TrustFolderManager {
    private trustedFolders;
    private enforcementEnabled;
    constructor();
    /**
     * Check if a given path is within a trusted directory.
     */
    isTrusted(targetPath: string): boolean;
    /**
     * Check if a directory is in the always-blocked list.
     */
    isBlocked(dirPath: string): boolean;
    /**
     * Add a directory to the trusted list.
     * Returns false if the directory is always-blocked.
     */
    trustFolder(dirPath: string): boolean;
    /**
     * Remove a directory from the trusted list.
     */
    untrustFolder(dirPath: string): boolean;
    /**
     * Get list of all trusted folders.
     */
    getTrustedFolders(): string[];
    /**
     * Enable or disable trust enforcement.
     */
    setEnforcement(enabled: boolean): void;
    /**
     * Check if enforcement is enabled.
     */
    isEnforcementEnabled(): boolean;
    private load;
    private save;
}
export declare function getTrustFolderManager(): TrustFolderManager;
export declare function resetTrustFolderManager(): void;
