import { CustomHasher, HasherContext, Task } from '@nx/devkit'; export interface RustCacheOptions { /** Extra resources consumed by build scripts, include macros or tests, using Nx file patterns. */ additionalInputs?: string[]; /** Extra environment variables consumed by build scripts or tests. */ cacheEnv?: string[]; } /** * Hash the Cargo ecosystem directly. Delegating to Nx's default hasher would unconditionally add * nx.json, TypeScript configuration and (for third-party executors) every npm dependency. * Explicit project/executor-specific inputs are additive; generic Node target defaults are ignored. */ export declare const hashRustTask: CustomHasher; export declare function hashRustTaskAt(root: string, task: Task, context: HasherContext): Promise<{ value: string; details: { command: string; nodes: Record; runtime: Record; }; }>; export default hashRustTask;