import type { ReadonlyBinding, TypeOrDeferredType } from 'react-bindings'; import type { WaitResult } from '../../waitable/types/wait'; /** * With respect to a waitable, waits for one of the following: * - the value binding to have a defined value * - the error binding to have a defined value (unless `continueWaitingOnFailure` is `true`) * - a reset (unless `continueWaitingOnReset` is true, which it is by default) * - timeout (if `timeoutMSec` is set) * * @returns `'success'` if the value binding has a defined value, `'failure'` if the error binding has a defined value, `'reset'` if the * waitable was reset, or `'timeout'` if no value was defined before the allowed time elapsed. */ export declare const waitForBindingValues: ({ continueWaitingOnFailure, continueWaitingOnReset, error, resetCount, timeoutMSec, value }: { continueWaitingOnFailure?: TypeOrDeferredType; continueWaitingOnReset?: TypeOrDeferredType; error: ReadonlyBinding; resetCount: ReadonlyBinding; timeoutMSec?: number; value: ReadonlyBinding; }) => Promise; //# sourceMappingURL=wait-for-binding-values.d.ts.map