import type { Project, ProjectTreeRecord, RallyWSAPIModel, RallyWSAPIStoreConfig } from './rallySDKTypes.js'; export declare const getCurrentProject: () => Promise | null>; export declare const getTopLevelProjects: (storeConfig?: RallyWSAPIStoreConfig) => Promise<(import("./rallySDKTypes.js").Artifact & RallyWSAPIModel)[]>; export declare const getChildProjects: (parents: RallyWSAPIModel[], storeConfig?: RallyWSAPIStoreConfig) => Promise[]>; /** * * @param topLevelProjectStoreConfig * @param childProjectStoreConfig * @returns list of top level projects with links to their children via the _children attribute. Useful for loading project tree * with closed projects or with specific fetch fields */ export declare const getProjectHierarchy: (topLevelProjectStoreConfig?: RallyWSAPIStoreConfig, childProjectStoreConfig?: RallyWSAPIStoreConfig) => Promise<(import("./rallySDKTypes.js").Artifact & RallyWSAPIModel)[]>; /** * * @param config * Utilizes Rally's `/slm/pjt/tree.sp` endpoint to quickly list of top level projects with links to their children via the `children` attribute */ export declare const getProjectTree: (config?: { withUUIDs?: boolean; workspaceOid?: number; includeClosedProjects?: boolean; }) => Promise; /** * Returns a flat list of projects */ export declare const getProjectsInCurrentScope: () => Promise;