import { TsonError } from '../../errors.js';
import { TsonType } from '../syncTypes.js';

declare class TsonUnknownObjectGuardError extends TsonError {
    /**
     * The unknown object that was found
     */
    readonly value: unknown;
    constructor(value: unknown);
}
/**
 *
 * @description
 * Guard against unknown complex objects.
 * Make sure to define this last in the list of types.
 * @throws {TsonUnknownObjectGuardError} if an unknown object is found
 */
declare const tsonUnknownObjectGuard: TsonType<unknown, never>;

export { TsonUnknownObjectGuardError, tsonUnknownObjectGuard };
