export function auth({ subject, action, resource }: { subject: any; action: any; resource: any; }): Promise;