import type { PhoneValidationResult } from '../serverless/_shared/dispatch';
import { validateSingle } from '../serverless/_shared/dispatch';
import type { ParsedArgs } from './parse-args';
export interface CliRunDeps {
    validate?: typeof validateSingle;
    writeFile?: (path: string, contents: string) => void;
    ensureDir?: (path: string) => void;
    stdout?: (line: string) => void;
    stderr?: (line: string) => void;
    now?: () => Date;
}
export declare function logFileNameFor(phoneNumber: string, when: Date): string;
export declare function run(args: ParsedArgs, deps?: CliRunDeps): Promise<number>;
export declare function exitCodeFor(result: PhoneValidationResult): number;
