/** The identity members of the identity that caused an event, as the kernel's `$causedBy` expression accepts them. */ export type CausedByProperty = 'subject' | 'name' | 'userName'; /** * Validates a member of the identity that caused an event. The kernel matches the member case-sensitively. * @param property - The identity member. * @returns The validated member. */ export declare function causedByProperty(property: string): CausedByProperty; /** * Builds the `$causedBy` event value expression - the whole identity that caused the event, or one of its members. * @param property - Optional identity member; omit it for the whole identity. * @returns The `$causedBy` or `$causedBy()` expression. */ export declare function causedByExpression(property?: CausedByProperty): string; //# sourceMappingURL=causedBy.d.ts.map