import { SpawnSyncOptions, SpawnSyncReturns } from 'child_process';
export interface NssDatabase {
    dir: string;
    version: 'cert8' | 'cert9';
}
export interface NssImportResult {
    certutilPath: string;
    imported: NssDatabase[];
    skipped: NssDatabase[];
}
type Runner = (command: string, args: string[], options: SpawnSyncOptions) => SpawnSyncReturns<Buffer>;
export interface NssImportOptions {
    certutilPath?: string;
    homeDir?: string;
    runner?: Runner;
}
export declare function findNssDatabases(homeDir?: string): NssDatabase[];
export declare function bundledCertutilPath(): string;
export declare function importRootCaToNssDatabases(rootCaPath: string, options?: NssImportOptions): NssImportResult;
export declare function rootCaPath(projectDir: string): string;
export {};
//# sourceMappingURL=nss-certutil.d.ts.map