import '../../stencil.core';
import '../../stencil.core';
import { EventEmitter } from '../../stencil.core';
import { PermissionsService } from "../../lib/index";
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;
    rulesJson: string;
    change: EventEmitter;
    constructor();
    componentDidLoad(): void;
    componentDidUpdate(): void;
    setPermissionService(instance: any): void;
    getRules(): any[];
    setRules(rules: any[]): void;
    update(): void;
    parsePermissions(): void;
    render(): JSX.Element;
}
