export interface PoolResult {
    skillsPool: string;
    agentsPool: string;
    skillsAdded: number;
    skillsUpdated: number;
    agentsAdded: number;
    agentsUpdated: number;
    errors: {
        item: string;
        error: string;
    }[];
}
/**
 * Ensure the pool exists and is up-to-date with the bundled templates.
 * Idempotent: safe to call on every install/update.
 *
 * Strategy: compare modification times. If template is newer, refresh pool entry.
 */
export declare function ensurePool(): PoolResult;
/**
 * Create a cross-platform link from a pool entry to a target location.
 * - POSIX: symlink
 * - Windows: try junction (no admin needed for dirs), fall back to copy on failure
 *
 * Returns 'symlink' | 'junction' | 'copy' to indicate what was used.
 */
export declare function linkFromPool(poolEntry: string, targetPath: string): 'symlink' | 'junction' | 'copy';
/**
 * Check whether a pool entry exists for the given name.
 */
export declare function poolHasSkill(name: string): boolean;
export declare function poolHasAgent(name: string): boolean;
export declare function poolSkillPath(name: string): string;
export declare function poolAgentPath(name: string): string;
