import { Temporal } from "../temporal"; /** * Subject is a key's context insides of the operator handler. It's passed to * the onEvent and onTimerExpired functions and allows you to set new timers, * get the current key, or read the key's current watermark. */ export declare class Subject { /** * The subject's key from the KeyedEvent. */ key: Uint8Array; /** * The current watermark for the subject. Watermarks advance periodically to * indicate the cutoff point where we expect no events with earlier * timestamps. */ watermark: Temporal.Instant; /** * Sets a timer that will fire once the watermark reaches the given timestamp. */ setTimer(timestamp: Temporal.Instant): void; }