/**
 * AgentVault "create" command — spin up a brand new OpenClaw peer agent.
 *
 * Ports the logic from ~/.openclaw/workspace/scripts/create-agent.sh into
 * TypeScript, eliminating the jq dependency.
 *
 * Usage: npx @agentvault/agentvault create <name> --token=av_tok_...
 */
export interface CreateAgentOptions {
    name: string;
    token: string;
    port?: number;
    apiUrl: string;
    force?: boolean;
}
/** Return alternative-framework hint when the agent name matches a
 *  known alt-framework keyword (case-insensitive, whitespace-trimmed).
 *  Returns null for ordinary names. Exported with underscore prefix to
 *  signal internal-helper status — not a public API. */
export declare function _checkAltFrameworkName(name: string): {
    name: string;
    install: string;
} | null;
/** Resolve the OpenClaw home directory (~/.openclaw) */
export declare function openclawHome(): string;
/** Parse openclaw.json and return its contents. */
export declare function readOpenClawConfig(home: string): any;
/**
 * Scan all accounts in openclaw.json for httpPort values and return next free port.
 * Minimum port is `startPort` (default 18790).
 */
export declare function findNextPort(config: any, startPort?: number): number;
/** Generate workspace template files for a new agent. */
export declare function generateWorkspaceFiles(name: string): Record<string, string>;
export declare function runCreateCommand(options: CreateAgentOptions): Promise<void>;
//# sourceMappingURL=create-agent.d.ts.map