import { CAManagerService } from '../services/ca-manager.service';
import { CertificateSignerService } from '../services/certificate-signer.service';
import { CAPublicKeyDto } from '../dto/ca-public-key.dto';
import { RegisterCADto, RegisterCAResponseDto } from '../dto/register-ca.dto';
export declare class CAController {
    private readonly caManager;
    private readonly certificateSigner;
    constructor(caManager: CAManagerService, certificateSigner: CertificateSignerService);
    initializeCA(): Promise<CAPublicKeyDto>;
    registerCA(dto: RegisterCADto): Promise<RegisterCAResponseDto>;
    getCAInfo(): Promise<CAPublicKeyDto>;
    getEnrollmentScript(): Promise<{
        script: string;
    }>;
    generateTestCertificate(ttl?: number): Promise<{
        privateKey: string;
        certificate: string;
        expiresAt: string;
        principals: string[];
        instructions: string;
    }>;
}
