import type { OperatorFunction } from 'rxjs'; /** * Like startWith, but evaluates the initial value lazily * @param factory The value function * @param thisArg An optional thisArg * @kind Operator * @since 2.1.0 * @see https://rxjs.dev/api/operators/startWith * @example * import {of} from 'rxjs'; * import {startWithFactory} from '@aloreljs/rxutils/operators'; * * let starter = 'b'; * const source = of('a').pipe(startWithFactory(() => starter)); * source.subscribe(console.log); // "b", "a" * starter = 'c'; * source.subscribe(console.log); // "c", "a" */ export declare function startWithFactory(factory: () => O, thisArg?: any): OperatorFunction;