import { GuardResult } from '../types';
export interface Guard {
    validate(text: string): Promise<GuardResult>;
    isEnabled(): boolean;
}
export declare abstract class BaseGuard implements Guard {
    protected enabled: boolean;
    constructor(enabled?: boolean);
    abstract validate(text: string): Promise<GuardResult>;
    isEnabled(): boolean;
    protected createResult(valid: boolean, score?: number, details?: any[]): GuardResult;
}
