import type { WorkspaceConfig } from "@turbo/utils"; interface EnvironmentConfig { legacyConfig: Array; env: Array; passThroughEnv: Array | null; dotEnv: DotEnvConfig | null; } type EnvVar = string; type EnvTest = (variable: EnvVar) => boolean; interface EnvironmentTest { legacyConfig: EnvTest; env: EnvTest; passThroughEnv: EnvTest; dotEnv: EnvTest; } interface DotEnvConfig { filePaths: Array; hashes: Record; } export interface ProjectKey { global: EnvironmentConfig; globalTasks: Record; workspaceTasks: Record>; } interface ProjectTests { global: EnvironmentTest; globalTasks: Record; workspaceTasks: Record>; } export declare function getWorkspaceFromFilePath(projectWorkspaces: Array, filePath: string): WorkspaceConfig | null; export declare class Project { _key: ProjectKey; _test: ProjectTests; cwd: string | undefined; allConfigs: Array; projectRoot: WorkspaceConfig | undefined; projectWorkspaces: Array; constructor(cwd: string | undefined); valid(): boolean; generateKey(): ProjectKey; getWorkspacePath(workspaceName: string): string | undefined; generateTestConfig(): ProjectTests; key(): ProjectKey; test(workspaceName: string | undefined, envVar: string): boolean; reload(): void; } export {}; //# sourceMappingURL=calculate-inputs.d.ts.map