type KeyWeight = {
    key: string;
    weight: number;
};
type PermissionWeight = {
    permission: {
        actor: string;
        permission: string;
    };
    weight: number;
};
type WaitWeight = {
    wait_sec: number;
    weight: number;
};
declare class Authority {
    threshold: number;
    keys: KeyWeight[];
    accounts: PermissionWeight[];
    waits: WaitWeight[];
    constructor(threshold: number, keys: KeyWeight[], accounts: PermissionWeight[], waits: WaitWeight[]);
    static fromKey(key: string): Authority;
    static fromAccount(permission: {
        actor: string;
        permission: string;
    }): Authority;
    addCodePermission(account: string): void;
    addAccount(permission: {
        actor: string;
        permission: string;
    }): void;
    addKey(key: string, weight: number): void;
    setThreshold(threshold: number): void;
}
export { Authority };
//# sourceMappingURL=authority.d.ts.map