export declare const isCatalogProtocol: (version: string) => boolean; export declare const findVersionSpecifier: (depsWithVersions: { dependencies: Record; devDependencies: Record; optionalDependencies: Record; peerDependencies: Record; }, pkg: string) => string | null; export declare const findWorkspaceRoot: (startDir: string) => string | null; type CatalogSource = { type: 'package-json'; filePath: string; catalogKey: 'workspaces' | 'root'; } | { type: 'pnpm-workspace'; filePath: string; }; export declare const findCatalogSource: (workspaceRoot: string) => CatalogSource | null; export declare const getCatalogEntries: (workspaceRoot: string) => Record; export declare const parsePnpmWorkspaceCatalog: (content: string) => Record; export declare const updateCatalogEntryInPackageJson: ({ filePath, catalogKey, pkg, newVersion, }: { filePath: string; catalogKey: "root" | "workspaces"; pkg: string; newVersion: string; }) => boolean; export declare const updateCatalogEntryInPnpmWorkspace: ({ filePath, pkg, newVersion, }: { filePath: string; pkg: string; newVersion: string; }) => boolean; export declare const updateCatalogEntry: ({ workspaceRoot, pkg, newVersion, }: { workspaceRoot: string; pkg: string; newVersion: string; }) => boolean; export {};