import type { BindingDependencies } from '../binding/types/binding-dependencies'; import type { InferBindingValueTypes } from '../binding/types/infer-binding-value-types'; /** `true` is an alias for `'satisfied'`; `false` is an alias for `'continue'` */ export type ConditionCheckResult = 'satisfied' | 'stop' | 'continue' | boolean; export type ConditionWaitResult = 'satisfied' | 'stopped' | 'timeout'; export type ConditionChecker = (bindingValues: InferBindingValueTypes, bindings: DependenciesT) => ConditionCheckResult; /** Waits for the specified condition to be satisfied (or for the checker to be stopped or to timeout) */ export declare const waitForCondition: (bindings: DependenciesT | undefined, { checkCondition, timeoutMSec }: { checkCondition: ConditionChecker; timeoutMSec?: number; }) => Promise; //# sourceMappingURL=wait-for-condition.d.ts.map