import { type TTopoResult } from "toposource"; import type { ITopoOptionsNormalized, IDepEntry, IDepEntryEnriched, IPackageDeps, ITopoOptions, ITopoContext, IGetManifestPaths, IGetWorkspaceOptions, IWorkspaceContext } from "./interface.cjs"; import type { ConduPackageJson, IPackageEntry, PackageKind, IPackageEntryWithWriteManifest } from "./packageJsonTypes.cjs"; export declare const getPackages: (options: IGetWorkspaceOptions) => Promise>; export declare const getPackage: ({ workspaceRootDir, manifestAbsPath, kind, }: { workspaceRootDir: string; manifestAbsPath?: string; kind: KindT; }) => Promise>; export declare const topo: (packages: readonly IPackageEntry[], { depFilter, scopes, }?: Pick & { scopes?: string[]; }) => any; export declare const getWorkspace: (options: Partial) => Promise; export declare const topoFromWorkspace: (options?: Partial) => Promise; export declare const extractWorkspaces: (root: IPackageEntry) => Promise; export declare const getGraph: (manifests: ConduPackageJson[], depFilter: ITopoOptionsNormalized["depFilter"], scopes?: string[]) => { nodes: string[]; edges: [dependencyName: string, packageName: string][]; }; export declare const deterministicSort: (a: T, b: T) => 0 | 1 | -1; export declare const getManifestsPaths: ({ workspaces, cwd, }: IGetManifestPaths) => Promise; export declare const traverseQueue: ({ queue, prev, cb, }: { queue: TTopoResult["queue"]; prev: TTopoResult["prev"]; cb: (name: string) => any; }) => Promise; export declare const traverseDeps: ({ packages, pkg: parent, scopes, cb, }: { pkg: IPackageEntry; packages: Record; scopes?: string[]; cb(depEntry: IDepEntryEnriched): any; }) => Promise; export declare const iterateDeps: (manifest: ConduPackageJson, cb: (ctx: IDepEntry & { deps: IPackageDeps; }) => any, scopes?: string[]) => void; //# sourceMappingURL=topo.d.cts.map