import '../../stencil.core';
import '../../stencil.core';
import '../../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;
    isolate: boolean;
    rulesJson: string;
    constructor();
    componentDidLoad(): void;
    componentDidUpdate(): void;
    componentDidUnload(): void;
    setPermissionService(instance: any): void;
    getRules(): any[];
    setRules(rules: any[], replace?: boolean): void;
    update(): void;
    parsePermissions(): void;
    onPermissionsRulesChange(): void;
    render(): JSX.Element;
}
