import Context from '../Context'; export declare type ruleType = { operations: string[] | string | undefined; types: string[] | string | undefined; title: string; handler: (ctx: Context, execCtx: Context) => any; condition: ((ctx: Context, execCtx: Context) => boolean) | undefined; }; export declare const rule: (operations: string | string[] | undefined, types: string | string[] | undefined, title: string, handler: (ctx: Context, execCtx: Context) => any, condition?: ((ctx: Context, execCtx: Context) => boolean) | undefined) => ruleType; //# sourceMappingURL=rule.d.ts.map