import type { CommonOpts } from "./api.js";
import type { Stream } from "./stream.js";
/**
 * Utility stream. Returns a new stream which emits a single value `x` (if
 * given) and then closes. If no arg is provided, the stream emits a single
 * `true`.
 *
 * @remarks
 * Syntax sugar for {@link fromIterableSync}.
 */
export declare function trigger(): Stream<boolean>;
export declare function trigger<T>(x: T, opts?: Partial<CommonOpts>): Stream<T>;
//# sourceMappingURL=trigger.d.ts.map