import { AbstractControlState, FormArrayState, FormControlState, FormControlValueTypes, FormGroupState, FormState } from '../state'; /** * This update function takes a form control state and disables it. Disabling a control * will clear all of its errors (i.e. making it always valid) and will remove all * pending validations (thereby effectively cancelling those validations). */ export declare function disable(state: FormControlState): FormControlState; /** * This update function takes a form array state and disables it and all of its children. * Disabling a control will clear all of its errors (i.e. making it always valid) and * will remove all pending validations (thereby effectively cancelling those validations). */ export declare function disable(state: FormArrayState): FormArrayState; /** * This update function takes a form group state and disables it and all of its children. * Disabling a control will clear all of its errors (i.e. making it always valid) and * will remove all pending validations (thereby effectively cancelling those validations). */ export declare function disable(state: FormGroupState): FormGroupState; /** * This update function takes a form state and disables it. For groups and arrays also * disables all children. Disabling a control will clear all of its errors (i.e. making * it always valid) and will remove all pending validations (thereby effectively * cancelling those validations). */ export declare function disable(state: AbstractControlState): FormState;