/** * Check whether `targetPath` falls inside `projectRoot` or any of the * additional `allowedPaths`. All arguments are expected to be absolute. * * Returns `true` when access should be **allowed**. */ export declare function isPathAllowed(targetPath: string, projectRoot: string, allowedPaths?: string[]): boolean; /** * Read allowed paths from the Mastra harness runtime context. * Combines skill paths (computed dynamically from projectPath and configDir) * with user-approved sandbox paths from harness state so that both parent * and subagent tools have the same access. * Returns default skill paths when the context is unavailable (e.g. in tests). */ export declare function getAllowedPathsFromContext(toolContext: { requestContext?: { get: (key: string) => unknown; }; } | undefined): string[]; //# sourceMappingURL=utils.d.ts.map