/**
 * studiograph clone command
 *
 * Clones an entire Studiograph workspace for owner setup on a new machine.
 * The CLI is an owner-only tool, so clone always pulls every folder —
 * shared and private alike (other members' personal folders included) —
 * and walks through full admin setup: LLM provider + connectors.
 *
 * Connects to a running Studiograph server using email/password and clones
 * all folders via the embedded git server.
 */
import { Command } from 'commander';
interface ServerRepo {
    name: string;
    path: string;
    description?: string;
    display_name?: string;
    personal?: boolean;
    owner_id?: number;
}
/**
 * Map a server repo record (`GET /api/repos`) into the per-repo entry written
 * to a cloned workspace.json. Preserves folder identity (display_name,
 * personal, owner_id) so the cloned workspace matches the server: without it
 * the UI title-cases the slug ("entries-1" → "Entries 1" instead of "My
 * Folder") and the sync paths fall back to guessing personal folders by name.
 *
 * Only fields the server actually returned are written — in particular a
 * shared folder is never stamped `personal: false`, which would mislead the
 * sync paths into treating it as a (skip-ensure) personal folder.
 */
export declare function buildClonedRepoRecord(r: ServerRepo): Record<string, unknown>;
export declare const cloneCommand: Command;
export {};
