import { TestInstance } from '../types.js'; declare class GenericTypeError extends Error { constructor(expectedString: string, received: any, matcherFn: Function, context: any); } type GenericTypeErrorArgs = ConstructorParameters; type AllButFirst = T extends [infer _First, ...infer Rest] ? Rest : never; declare class CliInstanceTypeError extends GenericTypeError { constructor(...args: AllButFirst); } type CliInstanceTypeErrorArgs = ConstructorParameters; declare function checkCliInstance(cliInstance: TestInstance, ...args: AllButFirst): void; declare function getMessage(context: any, matcher: string, expectedLabel: string, expectedValue: string, receivedLabel: string, receivedValue: string): string; export { CliInstanceTypeError, checkCliInstance, getMessage };