/** C8 fails in type-only files. */ import { type AnyFunction, type MaybePromise } from '@augment-vir/core'; import { type AssertFunction } from './assert-function.js'; import { type WaitUntilOverridesBase } from './wait-until-function.js'; export type AssertWrapOverridesBase = Partial>>; export type CheckFunction = (input: any, ...extraInputs: any[]) => input is Output; export type GenericCheckFunction = (input: any, ...extraInputs: any[]) => MaybePromise | never; export type CheckOverridesBase = Partial | GenericCheckFunction | undefined>>>; export type GuardGroup>> = { assert: Assertions; check: CheckOverridesBase; assertWrap: AssertWrapOverridesBase; checkWrap: AssertWrapOverridesBase; waitUntil: WaitUntilOverridesBase; };