import type { PipeStep } from './pipe$.js'; import type { Deferrable } from './types/inputs/Deferrable.js'; import type { Mutable } from './types/inputs/Mutable.js'; import type { AnySubscribable, SubscribableValue } from './types/inputs/Subscribable.js'; import type { Observable } from './types/outputs/Observable.js'; import type { Ref } from './types/outputs/Ref.js'; import type { Awaitable } from './types/utils.js'; /** * Stores origin's emitted data into given reference, to making it deferrable. * * @since 2.0.0 */ export declare function store$>>(ref: R): PipeStep>; export type StoreOrigin = AnySubscribable & Partial>>; export type StoreRef = Deferrable> & Mutable>; export type StoreResult>> = Observable> & (R extends Deferrable ? Ref : unknown);