/**
 * AgentVault one-time setup command.
 *
 * Runs enrollment + waits for owner approval + persists state,
 * then auto-registers the agentvault channel in openclaw config.
 *
 * Usage: npx @agentvault/agentvault setup --token=av_tok_...
 */
/**
 * Merge a single entry into an existing plugins.allow list (set semantics).
 *
 * Extracted so the merge behavior is unit-testable in isolation from the
 * enrollment flow. See Task 21 — without this merge, `openclaw config set
 * plugins.allow '["agentvault"]'` clobbers every other plugin entry the
 * user has configured (deepseek, signal, anthropic, openrouter, …).
 */
export declare function mergePluginsAllow(existing: string[], add: string): string[];
export declare function runSetupCommand(options: {
    token: string;
    name: string;
    apiUrl: string;
    dataDir: string;
    accountId?: string;
    force?: boolean;
}): Promise<void>;
/**
 * Install/update the plugin in OpenClaw's extensions directory.
 * Returns true if the plugin is installed (or was already up-to-date).
 */
export declare function installPlugin(env: NodeJS.ProcessEnv): boolean;
/**
 * Configure pm2 to manage the OpenClaw gateway process.
 * Returns true if pm2 was configured (or already configured).
 */
export declare function configurePm2(env: NodeJS.ProcessEnv): boolean;
//# sourceMappingURL=setup.d.ts.map