/**
 * GStack Bridge — Deep Skill Embedding
 *
 * Auto-detects gstack installation and registers its skills as native
 * Nexus Prime capabilities. All gstack branding is internalized —
 * skills appear as first-class Nexus tools.
 *
 * Execution: skills run via `claude -p` with the appropriate prefix.
 */
export interface NativeSkillCard {
    /** Nexus-native name (no gstack branding) */
    name: string;
    /** Original gstack skill name */
    originalName: string;
    /** Description (rewritten for Nexus context) */
    description: string;
    /** MCP tool name */
    toolName: string;
    /** Skill directory path */
    skillPath: string;
    /** Whether the skill has a SKILL.md */
    hasSkillDoc: boolean;
}
export interface SkillExecutionResult {
    success: boolean;
    output: string;
    exitCode: number;
    durationMs: number;
}
export declare class GstackBridge {
    private gstackRoot;
    private detectedSkills;
    constructor();
    /**
     * Check if gstack is installed and accessible.
     */
    detect(): boolean;
    private findGstackRoot;
    /**
     * List all gstack skills registered as native Nexus capabilities.
     */
    listSkills(): NativeSkillCard[];
    private discoverSkills;
    /**
     * Execute a gstack skill by its Nexus tool name.
     * Runs via `claude -p` with the skill prefix.
     */
    execute(toolName: string, args: Record<string, unknown>, options?: {
        timeoutMs?: number;
    }): Promise<SkillExecutionResult>;
    /**
     * Generate MCP tool definitions for all detected gstack skills.
     * These look like native Nexus tools with no gstack branding.
     */
    getToolDefinitions(): Array<{
        name: string;
        description: string;
        inputSchema: Record<string, unknown>;
    }>;
}
export declare function getGstackBridge(): GstackBridge;
