/**
 * @packageDocumentation
 * @module permission
 */
import { Arrayable, IfEqual, SelfSubjectAccessReview, UnaryObservableFunction } from '../types/public-api';
export declare const isAdmin: UnaryObservableFunction<{
    ext?: {
        admin: boolean;
    };
}, boolean>;
export declare function isAllowed<T extends Arrayable<SelfSubjectAccessReview>, K extends boolean = true>(transform?: K): UnaryObservableFunction<T, IfEqual<K, false, T extends SelfSubjectAccessReview | Readonly<SelfSubjectAccessReview> ? boolean : boolean[], Record<T extends Arrayable<SelfSubjectAccessReview<infer R>> ? R : never, boolean>>>;
