import type * as DCommon from "../../common"; import { type DataParserError } from "../error"; import { type DataParserCheckerDefinition, type checkerKind, type DataParserCheckerBase } from "../baseChecker"; import { type CheckedConstructorKind } from "./baseInit"; import { type DataParser } from "../base"; export type DataParserCheckerBaseInit = ((abstract new (definition: GenericDefinition) => (DataParserCheckerBase & DCommon.Kind & { checkConstructor(constructor: (GenericConstructor & DCommon.RequireConstructor & (GenericConstructor extends (DCommon.AnyConstructor<[any], (DCommon.Kind & DCommon.Kind)> & { create(...args: never[]): (DCommon.Kind & DCommon.Kind); execCheck(data: GenericInput, error: DataParserError, self: (DCommon.Kind & DCommon.Kind), dataParser: DataParser): unknown; }) ? ((DCommon.IsExtends[2], DCommon.Kind> extends true ? unknown : DCommon.ComputedTypeError<"Wrong type of self argument.">)) : DCommon.ComputedTypeError<"Function create or execCheck are incorrect.">))): (GenericConstructor & CheckedConstructorKind); })) & { [Prop in Exclude]: typeof DataParserCheckerBase[Prop]; } & { specificKindHandler: GenericKindHandler; });