import '../../stencil.core';
import { PermissionsService } from '@ema/core';
import { Ability } from "@casl/ability";
export declare class Permission {
    ability: Ability;
    canArray: any[];
    cannotArray: any[];
    displayDefault: string;
    permissions: PermissionsService;
    roles: string[];
    el: HTMLElement;
    rules: any[];
    can: string;
    cannot: string;
    subject: string;
    conditions: string;
    isolate: boolean;
    rulesJson: string;
    constructor();
    componentDidLoad(): void;
    componentDidUpdate(): void;
    componentDidUnload(): void;
    setPermissionService(instance: any): Promise<void>;
    getRules(): Promise<any[]>;
    setRules(rules: any[], replace?: boolean): Promise<void>;
    update(): Promise<void>;
    parsePermissions(): void;
    onPermissionsRulesChange(): void;
    render(): JSX.Element;
}
