import type { Validity } from '@ui-schema/react/UIStore'; import { Map } from 'immutable'; /** * Checks if the `scope` is valid, * returns: * - `0` when no error was found * - `1` when error was found and `count` = false * - `1+` when error was found and `count` = true */ export declare const isInvalid: (validity: Map | Validity | undefined, count?: boolean) => number;