/** * An Event Operator that emits the value of the underlying <input> element into a target observer * * @category Event Adapter Operators * @returns OperatorFunction * * For simple, one-step input pipelines, see the {@link Cut | Cut (uppercase)} Event Adapter * * ## Examples * * ### ValidInfo * * Create a custom Event Operator that feeds a stream with validated data, once a custom validator passes * * ```ts * import { Subject, filter } from 'rxjs'; * import { rml, inputPipe, value } from 'rimmel'; * * const isValid = filter((s: string) => IS_VALID_IMPL(s) ); * const ValidInfo = inputPipe(value, isValid); * * const Component = () => { * const stream = new Subject(); * * return rml` * * [ ${stream} ] * `; * }; * ``` */ export declare const value: import("rxjs").OperatorFunction; /** * An Event Adapter emitting the value of the underlying <input> element instead of a regular DOM Event object * * ## Example * Copy the value of a text box on change * * ```ts * import { Subject } from 'rxjs'; * import { rml, Value } from 'rimmel'; * * const Component = () => { * const stream = new Subject(); * * return rml` * * [ ${stream} ] * `; * }; * ``` */ export declare const Value: (target: ((data: string) => void) | import("..").ObserverFunction | Partial<{ next?: import("..").ObserverFunction | undefined; error?: import("..").ObserverErrorFunction; complete?: import("..").ObserverCompleteFunction; }> | undefined) => Partial<{ next?: import("..").ObserverFunction | undefined; error?: import("..").ObserverErrorFunction; complete?: import("..").ObserverCompleteFunction; }> & { next: (value: Event) => void; }; /** * An Event Adapter emitting the type-detected value of the underlying <input> element instead of a regular DOM Event object * * ## Example * Copy the value of a text box on change * * ```ts * import { Subject } from 'rxjs'; * import { rml, AutoValue } from 'rimmel'; * * const Component = () => { * const stream = new Subject; * * return rml` * * [ ${stream} ] * `; * }; * ``` */ export declare const AutoValue: (target: ((data: string) => void) | import("..").ObserverFunction | Partial<{ next?: import("..").ObserverFunction | undefined; error?: import("..").ObserverErrorFunction; complete?: import("..").ObserverCompleteFunction; }> | undefined) => Partial<{ next?: import("..").ObserverFunction | undefined; error?: import("..").ObserverErrorFunction; complete?: import("..").ObserverCompleteFunction; }> & { next: (value: Event) => void; }; /** * An Event Source Operator emitting the value of the underlying <input> element instead of a regular DOM Event object * @returns OperatorFunction */ export declare const valueAsString: import("rxjs").OperatorFunction; /** * An Event Adapter emitting the value of the underlying <input> element instead of a regular DOM Event object * @param handler A handler function or observer to send events to * @returns EventSource */ export declare const ValueAsString: (target: ((data: string) => void) | import("..").ObserverFunction | Partial<{ next?: import("..").ObserverFunction | undefined; error?: import("..").ObserverErrorFunction; complete?: import("..").ObserverCompleteFunction; }> | undefined) => Partial<{ next?: import("..").ObserverFunction | undefined; error?: import("..").ObserverErrorFunction; complete?: import("..").ObserverCompleteFunction; }> & { next: (value: Event) => void; }; /** * An Event Source Operator for valueAsNumber * Emits the numeric value of the underlying <input type="number"> or <input type="range"> instead of a regular DOM Event object * @returns OperatorFunction */ export declare const valueAsNumber: import("rxjs").OperatorFunction; /** * An Event Source for valueAsNumber * Emits the numeric value of the underlying <input type="number"> or <input type="range"> instead of a regular DOM Event object * @returns EventSource */ export declare const ValueAsNumber: (target: ((data: number) => void) | import("..").ObserverFunction | Partial<{ next?: import("..").ObserverFunction | undefined; error?: import("..").ObserverErrorFunction; complete?: import("..").ObserverCompleteFunction; }> | undefined) => Partial<{ next?: import("..").ObserverFunction | undefined; error?: import("..").ObserverErrorFunction; complete?: import("..").ObserverCompleteFunction; }> & { next: (value: Event) => void; }; /** * An Event Source Operator for valueAsDate * Emits the numeric value of the underlying `` instead of a regular DOM Event object * @returns OperatorFunction */ export declare const valueAsDate: import("rxjs").OperatorFunction; /** * An Event Adapter for valueAsDate * Emits the numeric value of the underlying `` instead of a regular DOM Event object * @returns EventSource */ export declare const ValueAsDate: (target: ((data: Date | null) => void) | import("..").ObserverFunction | Partial<{ next?: import("..").ObserverFunction | undefined; error?: import("..").ObserverErrorFunction; complete?: import("..").ObserverCompleteFunction; }> | undefined) => Partial<{ next?: import("..").ObserverFunction | undefined; error?: import("..").ObserverErrorFunction; complete?: import("..").ObserverCompleteFunction; }> & { next: (value: Event) => void; }; export declare const asValue: import("rxjs").OperatorFunction; export declare const AsValue: (target: ((data: string) => void) | import("..").ObserverFunction | Partial<{ next?: import("..").ObserverFunction | undefined; error?: import("..").ObserverErrorFunction; complete?: import("..").ObserverCompleteFunction; }> | undefined) => Partial<{ next?: import("..").ObserverFunction | undefined; error?: import("..").ObserverErrorFunction; complete?: import("..").ObserverCompleteFunction; }> & { next: (value: Event) => void; }; export declare const asStringValue: import("rxjs").OperatorFunction; export declare const AsStringValue: (target: ((data: string) => void) | import("..").ObserverFunction | Partial<{ next?: import("..").ObserverFunction | undefined; error?: import("..").ObserverErrorFunction; complete?: import("..").ObserverCompleteFunction; }> | undefined) => Partial<{ next?: import("..").ObserverFunction | undefined; error?: import("..").ObserverErrorFunction; complete?: import("..").ObserverCompleteFunction; }> & { next: (value: Event) => void; }; export declare const asNumericValue: import("rxjs").OperatorFunction; export declare const AsNumericValue: (target: ((data: number) => void) | import("..").ObserverFunction | Partial<{ next?: import("..").ObserverFunction | undefined; error?: import("..").ObserverErrorFunction; complete?: import("..").ObserverCompleteFunction; }> | undefined) => Partial<{ next?: import("..").ObserverFunction | undefined; error?: import("..").ObserverErrorFunction; complete?: import("..").ObserverCompleteFunction; }> & { next: (value: Event) => void; }; export declare const asDateValue: import("rxjs").OperatorFunction; export declare const AsDateValue: (target: ((data: Date | null) => void) | import("..").ObserverFunction | Partial<{ next?: import("..").ObserverFunction | undefined; error?: import("..").ObserverErrorFunction; complete?: import("..").ObserverCompleteFunction; }> | undefined) => Partial<{ next?: import("..").ObserverFunction | undefined; error?: import("..").ObserverErrorFunction; complete?: import("..").ObserverCompleteFunction; }> & { next: (value: Event) => void; }; //# sourceMappingURL=value-source.d.ts.map