export declare function isOfficialRegistryUrl(url: string): boolean; /** * Path to the registry shipped with this package (`dist/registry`), * or the repo root when running from source / before bundle. */ export declare function getBundledRegistryPath(): string; /** * Resolve the registry source for this CLI. * * Defaults to the build-time bundled registry (no GitHub clone). * Local paths (`.`, `./…`, absolute, `file://`) remain allowed for development. * Official remote aliases also map to the bundled registry. */ /** * Resolve the registry source for this CLI. * Local paths and the official registry always work. * Other remotes require `allowPrivate` (enterprise private registry). */ export declare function resolveNoahRegistry(input?: string, options?: { allowPrivate?: boolean; }): string; /** True when cwd looks like the Noah registry checkout (manifest + asset dirs). */ export declare function isLocalNoahRegistry(cwd?: string): Promise; /** * Prefer the local checkout when running inside this registry project; * otherwise leave unset so callers default to the bundled registry. */ export declare function preferLocalRegistry(cwd?: string): Promise; /** * User-facing registry label. Never exposes local directories or file:// URLs. */ export declare function toPublicRegistryLabel(_url?: string): string; /** * Canonical URL stored in `.cursor/noah.json`. Never persists local paths. */ export declare function toStoredRegistryUrl(url: string): string; //# sourceMappingURL=registry.d.ts.map