import { RuleContext } from "./rule-context";
import { BFastOptions } from "../bfast-option";
export declare type Policy = {
    add?: {
        'create.*'?: string;
        'query.*'?: string;
        'update.*'?: string;
        'delete.*'?: string;
        [key: string]: string;
    };
    list?: {};
    remove?: {
        ruleId: string;
    };
};
export declare type PolicyData = {
    id: string;
    ruleId: string;
    ruleBody: string;
};
export declare type PolicyAdd = {
    ruleId: string;
    rule: string;
    context: RuleContext;
    options: BFastOptions;
};
export declare const PolicyAddSchema: {};
export declare const PolicyDataSchema: {
    type: string;
    properties: {
        id: {
            type: string;
            minLength: number;
        };
        ruleId: {
            type: string;
            minLength: number;
        };
        ruleBody: {
            type: string;
            minLength: number;
        };
    };
    required: string[];
};
