import type { CommandRunner } from "../../../agent-spawn/dist/index.js";
export type TruffleHogFindingStatus = "verified" | "unverified" | "unknown";
export interface TruffleHogFinding {
    detector: string;
    filePath: string;
    lineNumber: number;
    status: TruffleHogFindingStatus;
}
interface EnvReader {
    get(key: string): string | undefined;
}
interface TruffleHogFileSystem {
    appendFile(path: string, data: string, encoding: BufferEncoding): Promise<void>;
    lstat(path: string): Promise<{
        isSymbolicLink(): boolean;
    }>;
    readFile(path: string, encoding: BufferEncoding): Promise<string>;
    rename(oldPath: string, newPath: string): Promise<void>;
    rm(path: string, options: {
        force: boolean;
    }): Promise<void>;
    writeFile(path: string, data: string, options: {
        encoding: BufferEncoding;
        flag?: string;
    }): Promise<void>;
}
export type TruffleHogPrScanCommand = "scan-for-secrets" | "report-advisory-result" | "clear-stale-advisory-result";
export declare function runTruffleHogPrScanCommand(command: TruffleHogPrScanCommand, env: EnvReader, options?: {
    cwd?: string;
    runner?: CommandRunner;
    dryRun?: boolean;
    fs?: TruffleHogFileSystem;
}): Promise<null>;
export declare function parseTruffleHogFindings(jsonl: string): TruffleHogFinding[];
export declare function uniqueTruffleHogFindings(findings: TruffleHogFinding[]): TruffleHogFinding[];
export declare function renderTruffleHogFindingsTable(findings: TruffleHogFinding[], options: {
    repository: string;
    headSha: string;
    maxFindings: number;
}): string;
export declare function renderTruffleHogComment(findings: TruffleHogFinding[], options: {
    repository: string;
    headSha: string;
    maxFindings: number;
}): string;
export {};
