/// <reference types="node" />
import { MkcertOptions } from './mkcert';
export { BaseSource, type SourceInfo } from './mkcert/source';
export declare type ViteCertificateOptions = MkcertOptions & {
    /**
     * The hosts that needs to generate the certificate.
     */
    hosts?: string[];
};
declare const webpackPlugin: (options: MkcertOptions & {
    hosts: any[];
}) => Promise<{
    key: Buffer;
    cert: Buffer;
}>;
export default webpackPlugin;
