export declare function dbPermissionCtor(dbProvider: any): { execute: ({ userId }: { userId: any; }) => Promise; dbProvider: any; }; export declare const dbPermission: ({ userId }: { userId: any; }) => Promise;