interface PermErrorCheckResult {
    permError: boolean;
    msg: string;
}
export declare function checkPermError(e: unknown): PermErrorCheckResult;
export declare function readValidCA(): Promise<{
    key: string;
    cert: string;
}>;
export declare function generateCA(): Promise<import("mkcert").Certificate>;
export {};
