/**
 * Registry Manager for Onebox
 *
 * Manages Docker registry credentials and authentication
 */
import type { IRegistry } from '../types.js';
export declare class OneboxRegistriesManager {
    private oneboxRef;
    private database;
    constructor(oneboxRef: any);
    /**
     * Encrypt a password (simple base64 for now, should use proper encryption)
     */
    private encryptPassword;
    /**
     * Decrypt a password
     */
    private decryptPassword;
    /**
     * Add a registry
     */
    addRegistry(url: string, username: string, password: string): Promise<IRegistry>;
    /**
     * Remove a registry
     */
    removeRegistry(url: string): Promise<void>;
    /**
     * List all registries
     */
    listRegistries(): Promise<IRegistry[]>;
    /**
     * Get registry by URL
     */
    getRegistry(url: string): Promise<IRegistry | null>;
    /**
     * Perform Docker login for a registry
     */
    loginToRegistry(registry: IRegistry): Promise<void>;
    /**
     * Login to all registries (useful on daemon start)
     */
    loginToAllRegistries(): Promise<void>;
    /**
     * Test registry connection
     */
    testRegistry(url: string, username: string, password: string): Promise<boolean>;
}
