interface CompareSnapshotOptions { errorThreshold: number; } declare global { namespace Cypress { interface Chainable { compareSnapshot(name: string): void; compareSnapshot(name: string, errorThreshold?: number, scrollSelectorIntoView?: string): void; compareSnapshot( name: string, options?: Partial ): void; } } } export default function compareSnapshotCommand( options?: Partial ): void;