import type { RegistryConfig } from "#compiled/shadcn-registry/index.js";
export interface AddRegistryMappingsResult {
    added: string[];
    skippedBuiltIn: string[];
    skippedExisting: string[];
}
export declare function assertCanInstallWebChat(appRoot: string): Promise<void>;
/** Reads registry namespace mappings from package.json. */
export declare function readRegistryConfig(appRoot: string): Promise<RegistryConfig>;
export declare function addWebRegistryTsconfig(source: string, path: string): string;
/** Prepares the TypeScript host configuration shadcn registry items expect. */
export declare function prepareWebRegistryProject(appRoot: string): Promise<void>;
/** Adds explicit registry namespace mappings to package.json. */
export declare function addRegistryMappings(appRoot: string, arguments_: readonly string[]): Promise<AddRegistryMappingsResult>;
