import { HookContext } from '@feathersjs/feathers'; type Options = { entity?: string; field?: string; error?: boolean; permissions?: string[] | Function; roles?: string[] | Function; }; export declare function checkPermissions(options?: Options): (context: HookContext) => Promise, any>>; export {};