import { Rule as RuleProto } from "typedb-protocol/proto/logic"; import { TypeDBTransaction } from "../api/connection/TypeDBTransaction"; import { Rule } from "../api/logic/Rule"; export declare class RuleImpl implements Rule { protected readonly _when: string; protected readonly _then: string; protected _label: string; constructor(label: string, when: string, then: string); get label(): string; get when(): string; get then(): string; toString(): string; delete(transaction: TypeDBTransaction): Promise; isDeleted(transaction: TypeDBTransaction): Promise; setLabel(transaction: TypeDBTransaction, label: string): Promise; } export declare namespace RuleImpl { function of(ruleProto: RuleProto): RuleImpl; }