import { ValidationRuntimeOptions } from '@ioc:Adonis/Core/Validator';
/**
 * Return type of the compile function
 */
export type CompileReturnType = {
    operator: '>' | '<' | '>=' | '<=';
    field: string;
    format?: string;
};
/**
 * Compiles a date field comparison rule
 */
export declare function compile(ruleName: string, operator: '>' | '<' | '>=' | '<=', [field]: any[], rulesTree: any): {
    compiledOptions: CompileReturnType;
};
/**
 * Validates date field comparison rule
 */
export declare function validate(ruleName: string, errorMessage: string, value: any, { field, operator, format }: CompileReturnType, { root, tip, errorReporter, pointer, arrayExpressionPointer }: ValidationRuntimeOptions): void;
