import type { MonoTypeOperatorFunction } from 'rxjs';
/**
* Similar to tap({complete: ...}), but passes on the last emitted value to the callback
* @param tapFn The callback function
* @param thisArg An optional thisArg
* @since 2.1.0
* @kind Operator
* @see https://rxjs.dev/api/operators/tap
* @example
* import {of} from 'rxjs';
* import {tapLast} from '@aloreljs/rxutils/operators';
*
* of('foo', 'bar', 'qux')
* .pipe(
* tapLast(v => console.debug('tap', v))
* )
* .subscribe(v => {
* console.debug('subscribe', v);
* });
* // Logs "subscribe foo", "subscribe bar", "subscribe qux", "tap qux"
*/
export declare function tapLast(tapFn: (value?: T) => void, thisArg?: any): MonoTypeOperatorFunction;