import * as plugins from '../plugins.js';
import * as interfaces from '../../dist_ts_interfaces/index.js';
export interface ICertificateState {
    certificates: interfaces.requests.ICertificateInfo[];
    summary: {
        total: number;
        valid: number;
        expiring: number;
        expired: number;
        failed: number;
        unknown: number;
    };
    isLoading: boolean;
    error: string | null;
    lastUpdated: number;
}
export declare const certificateStatePart: plugins.deesElement.domtools.plugins.smartstate.StatePart<string, ICertificateState>;
export declare const fetchCertificateOverviewAction: plugins.deesElement.domtools.plugins.smartstate.StateAction<ICertificateState, unknown>;
export declare function requestCertificateReprovision(domain: string, forceRenew?: boolean): Promise<{
    success: boolean;
    message?: string;
}>;
export declare const deleteCertificateAction: plugins.deesElement.domtools.plugins.smartstate.StateAction<ICertificateState, string>;
export declare const importCertificateAction: plugins.deesElement.domtools.plugins.smartstate.StateAction<ICertificateState, {
    id: string;
    domainName: string;
    created: number;
    validUntil: number;
    privateKey: string;
    publicKey: string;
    csr: string;
}>;
export declare function fetchCertificateExport(domain: string): Promise<{
    success: boolean;
    cert?: import("@tsclass/tsclass/dist_ts/network/cert.js").ICert;
    message?: string;
}>;
