/** * macOS sandbox user management * * Creates and configures an unprivileged user for running OpenClaw * in an isolated environment. */ import type { SandboxUser, SandboxConfig, CreateUserResult, DirectoryStructure } from './types'; /** * Check if a user exists */ export declare function userExists(username: string): boolean; /** * Create the guarded shell script */ export declare function createGuardedShell(): { success: boolean; error?: string; }; /** * Create the sandbox user on macOS */ export declare function createSandboxUser(config?: Partial): CreateUserResult; /** * Create the directory structure for the sandbox user */ export declare function createDirectoryStructure(user: SandboxUser): { success: boolean; dirs?: DirectoryStructure; error?: string; }; /** * Delete the sandbox user * * @param username - The username to delete * @param options - Options for deletion * @param options.removeHomeDir - Whether to remove the home directory (default: false) */ export declare function deleteSandboxUser(username: string, options?: { removeHomeDir?: boolean; }): { success: boolean; error?: string; }; //# sourceMappingURL=macos.d.ts.map