import type { ScanExitCode, ScanOptions, ScanResult, ScanStrategy, SecretFinding } from '../types/secret-scan.js';
export type { ScanExitCode, ScanOptions, ScanResult, ScanStrategy, SecretFinding };
export declare function globMatch(filepath: string, pattern: string): boolean;
export declare class GitleaksStrategy implements ScanStrategy {
    readonly name: "gitleaks";
    available(): boolean;
    scan(diff: string, options: ScanOptions): Promise<SecretFinding[]>;
    private parseOutput;
    private redact;
}
export declare class RegexStrategy implements ScanStrategy {
    readonly name: "regex";
    available(): boolean;
    scan(diff: string, options: ScanOptions): Promise<SecretFinding[]>;
    private redact;
}
export declare function getStagedDiff(cwd: string, timeoutMs: number): string;
export declare function scanStagedFiles(options?: ScanOptions): Promise<ScanResult>;
