import { AbstractControlState, FormState } from '../state'; /** * This update function takes a name and returns a projection function that * clears the async error with the given name. */ export declare function clearAsyncError(name: string): (state: AbstractControlState) => FormState; /** * This update function takes a form state and a name, and clears the async * error with the given name. */ export declare function clearAsyncError(state: AbstractControlState, name: string): FormState;