export interface CertificateArtifacts {
    domain: string;
    wildcardHost: string;
    certFile: string;
    keyFile: string;
    dynamicConfigFile: string;
}
export interface CertificateChangeResult {
    artifacts: CertificateArtifacts;
    certificateChanged: boolean;
    dynamicConfigChanged: boolean;
}
export interface RootCaAliasResult {
    copied: string[];
    warnings: string[];
}
export interface CertificateListItem {
    status: '✓' | '✗';
    sans: string[];
    issuer: string;
    validUntil: string;
    expiry: string;
    certFile: string;
    keyFile: string;
    dynamicConfigFile: string;
    error?: string;
}
export declare function normalizeDomain(domain: string): string;
export declare function certificateArtifacts(projectDir: string, domain: string): CertificateArtifacts;
export declare function buildTlsDynamicConfig(domain: string): string;
export declare function ensureRootCaAliases(certsDir: string): RootCaAliasResult;
export declare function ensureWildcardCertificate(projectDir: string, domain: string, options?: {
    installLocalCa?: boolean;
}): Promise<CertificateChangeResult>;
export declare function createDomainCertificate(projectDir: string, domain: string): Promise<CertificateChangeResult>;
export declare function removeDomainCertificate(projectDir: string, domain: string): CertificateChangeResult;
export declare function listDomainCertificates(projectDir: string, now?: Date): CertificateListItem[];
//# sourceMappingURL=cert-manager.d.ts.map