import type { RMLTemplateExpressions } from '../types/internal'; type StringFunction = (s: string) => string; type Replacement = string | StringFunction; /** * An Event Operator that swaps the value of the underlying element * with the provided replacement (or empty string by default) and emits the previous value. * This operator mutates the element's value as a side effect. * @param replacement A string or function used to compute the new value * @returns OperatorFunction */ export declare const swap: (replacement?: Replacement) => import("rxjs").OperatorFunction; /** * An Event Adapter that swaps the value of the underlying <input> element * with the provided replacement (or empty string by default) and emits the previous value to the given target. * @param replacement A new value or function to compute the element's next value * @param source A handler function or observer to send emitted values to * @returns EventSource */ export declare const Swap: (replacement?: Replacement, source?: RMLTemplateExpressions.SourceExpression) => import("rxjs").NextObserver; export {}; //# sourceMappingURL=swap-source.d.ts.map