import type { YobtaContext } from '../_types/YobtaContext.js';
import type { YobtaSyncRule } from '../rule/rule.js';
export interface YobtaErrorsCallback {
    (errors: YobtaContext['errors'], context: YobtaContext): void;
}
export declare const errors: <I>(cb: YobtaErrorsCallback) => YobtaSyncRule<I, I>;
//# sourceMappingURL=errors.d.ts.map