import type { MatcherState } from 'expect'; import type { DiffOptions, DiffSerializer } from './types'; export type { DiffSerializer } from './types'; export interface Options extends DiffOptions { colors?: boolean; } export declare const defaultSerializers: DiffSerializer[]; export declare const snapshotDiff: (valueA: unknown, valueB: unknown, options?: Options) => string; export declare function toMatchDiffSnapshot(this: MatcherState, valueA: unknown, valueB: unknown, options?: Options, ...rest: unknown[]): { pass: boolean; message(): string; } | Promise<{ pass: boolean; message(): string; }>; export declare function getSnapshotDiffSerializer(): { test(value: any): boolean; print(value: any): any; }; export declare function setSerializers(customSerializers: Array): void;