import { type Job, Sink as BaseSink } from '../../topology'; import type { Subject } from '../../handler/subject'; /** * Standard Input/Output Sink allows you to write events to stdout. * This is useful for development and testing workflows. */ export declare class Sink extends BaseSink { private id; /** * Creates a new stdio sink. * * @param job - The job that will use this sink * @param id - An identifier for this sink */ constructor(job: Job, id: string); /** * Collects an event to be sent to the stdio sink. * * @param subject - The subject associated with this event * @param value - The binary data to send to the sink */ collect(subject: Subject, value: Uint8Array): void; }