export declare function sanitizeRepoName(url: any): any;
/**
 * @param {InstallTarget} target
 * @param {string} userDir - user-installed directory (e.g. ~/.open-design/skills)
 * @param {'skill' | 'design-system'} kind
 * @returns {Promise<{ok: true, dir: string} | {ok: false, error: string}>}
 */
export declare function installFromTarget(target: any, userDir: any, kind: any): Promise<{
    ok: boolean;
    error: string;
    dir?: never;
} | {
    ok: boolean;
    dir: string;
    error?: never;
}>;
/**
 * @param {string} id - skill or DS id to uninstall
 * @param {string} userDir - user-installed directory
 * @param {string} builtInDir - built-in directory
 * @param {'skill' | 'design-system'} kind
 * @returns {Promise<{ok: true} | {ok: false, error: string, status?: number}>}
 */
export declare function uninstallById(id: any, userDir: any, builtInDir: any, kind: any): Promise<{
    ok: boolean;
    error: string;
    status: number;
} | {
    ok: boolean;
    error: string;
    status?: never;
} | {
    ok: boolean;
    error?: never;
    status?: never;
}>;
