import { verifyEmail } from '../index';
import type { VerificationResult } from '../types';
import type { ParsedArgs } from './parse-args';
export interface CliRunDeps {
    /** Allow tests to inject a custom verifier — defaults to the real one. */
    verify?: typeof verifyEmail;
    /** Write a string to the given path. Defaults to fs.writeFileSync. */
    writeFile?: (path: string, contents: string) => void;
    /** Ensure a directory exists. Defaults to fs.mkdirSync(recursive). */
    ensureDir?: (path: string) => void;
    /** stdout / stderr writers — tests inject in-memory buffers. */
    stdout?: (line: string) => void;
    stderr?: (line: string) => void;
    /** Used to build the log filename — tests pin it for determinism. */
    now?: () => Date;
}
/** Build the timestamped log filename for an email + run time. */
export declare function logFileNameFor(email: string, when: Date): string;
export declare function run(args: ParsedArgs, deps?: CliRunDeps): Promise<number>;
export declare function exitCodeFor(result: VerificationResult): number;
