import { type NonNullableRecord } from '../../../../_utils/isNonNullableRecord/isNonNullableRecord.js'; import type { Refs } from '../../useRefs.types.js'; import type { UnwrapRefs } from '../unwrapRefs/unwrapRefs.types.js'; /** * Unwraps refs and assert every field is not null * * NOTE: this function asserts fields known during runtime on the refs parameter. * The useRefs Proxy only creates a field in the getter, this means that a field's * value will still be undefined when you never reference that field. The return * type of this function doesn't reflect that behavior. */ export declare function validateAndUnwrapRefs(refs: T): [false, undefined] | [true, NonNullableRecord>];