import { type BpSchemaOutput } from "../contracts/manifest.js"; export { canonicalJson, contractDigest } from "../runtime/contract.js"; export declare const DEFAULT_REGISTRY_URL = "https://io.betterportal.org"; export interface BetterPortalProjectConfig { $schema?: string; registryRef?: string; defaultNamespace?: string; dependencies?: Record; } export interface LockedDependency { registryRef: string; pluginId: string; version: string; digest: string; } export interface BetterPortalLock { dependencies: Record; } export declare function findPackageJson(startDir?: string): string; export declare function readJsonFile(file: string): T; export declare function writeJsonFile(file: string, value: unknown): void; export declare function readProjectConfig(packageDir: string): BetterPortalProjectConfig; export declare function readLock(packageDir: string): BetterPortalLock; export declare function parseContract(value: unknown): BpSchemaOutput; export declare function readContract(file: string): BpSchemaOutput; export declare function normalizeRegistryUrl(value?: string): string; export interface DependencySelector { raw: string; registryRef?: string; pluginId?: string; shortName?: string; version?: string; } export declare function parseDependencySelector(rawInput: string, defaultNamespace?: string): DependencySelector; export declare function registryRefParts(registryRef: string): [string, string]; //# sourceMappingURL=project.d.ts.map