/**
 * Infrastructure Management
 * Auto-start and manage FalkorDB and Qdrant containers
 */
export interface InfraStatus {
    falkordb: {
        available: boolean;
        url?: string;
        started?: boolean;
        error?: string;
    };
    qdrant: {
        available: boolean;
        url?: string;
        started?: boolean;
        error?: string;
    };
}
/**
 * Check if Docker is available
 */
export declare function isDockerAvailable(): boolean;
/**
 * Find an available port starting from the given port
 */
export declare function findAvailablePort(startPort: number): number;
/**
 * Ensure FalkorDB is running, auto-starting if needed
 * Returns the URL to connect to, or null if unavailable
 */
export declare function ensureFalkorDB(options?: {
    silent?: boolean;
    configUrl?: string;
}): Promise<{
    url: string;
    started: boolean;
} | null>;
/**
 * Ensure Qdrant is running, auto-starting if needed
 */
export declare function ensureQdrant(options?: {
    silent?: boolean;
}): Promise<{
    url: string;
    started: boolean;
} | null>;
/**
 * Ensure all infrastructure is running
 */
export declare function ensureInfrastructure(options?: {
    silent?: boolean;
    needGraph?: boolean;
    needVector?: boolean;
}): Promise<InfraStatus>;
/**
 * Sync state information
 */
export interface SyncStatus {
    hasSynced: boolean;
    lastSyncCommit?: string;
    lastSyncTime?: string;
    fileCount?: number;
    symbolCount?: number;
    needsResync: boolean;
    currentCommit?: string;
}
/**
 * Check the sync state for a repository
 */
export declare function checkSyncState(repoRoot: string): Promise<SyncStatus>;
//# sourceMappingURL=infrastructure.d.ts.map