import { OperationType } from '../informer';
export declare function policyAllowsOp(policy: string, op: OperationType, item: any): {
    allowed: boolean;
    msg: string;
};
export declare function errorPolicyCompatibility(syncPolicy: string, generalPolicy: string, item: any, op: OperationType): AsyncGenerator<{
    item: any;
    reason: OperationType;
    type: string;
    status: string;
    message: string;
}, void, unknown>;
