import type { IAgentSandboxUserConfiguredPaths } from "../../sandbox/common/settings.js"; export declare const SAVE_SANDBOX_PATH = "save-sandbox-path"; /** The filesystem policy edit offered by the runtime on a pending sandbox escalation. */ export interface ISandboxPathGrant { readonly path: string; readonly access: "read" | "readWrite"; readonly deniedPath?: string; readonly removedReadonlyPaths?: readonly string[]; } export declare function isSandboxPathGrant(value: unknown): value is ISandboxPathGrant; /** Applies only the list edits in an offered grant, preserving unrelated settings. */ export declare function applySandboxPathGrant(paths: IAgentSandboxUserConfiguredPaths | undefined, grant: ISandboxPathGrant): IAgentSandboxUserConfiguredPaths;