/** * Every workspace that has been trusted. * * Needed so the browser can offer a workspace to switch to. It offers only these, because trust is * granted at a terminal after being asked — a web page listing directories it could point an agent * at, and adding to that list itself, would be the escalation the prompt exists to prevent. */ export declare function trustedWorkspaces(home?: string): Promise; export declare function isWorkspaceTrusted(cwd: string, home?: string): Promise; export declare function trustWorkspace(cwd: string, home?: string): Promise; /** Removes a persistent grant. The current process remains open; the next launch asks again. */ export declare function untrustWorkspace(cwd: string, home?: string): Promise; /** * Explicitly asks before an interactive agent can inspect or modify a folder. * CI is intentionally handled by the caller, where the user opts in with --ci. */ export declare function requestWorkspaceTrust(cwd: string): Promise; //# sourceMappingURL=workspace-trust.d.ts.map