import type { RecurseDefaults } from 'cypress-recurse'; declare namespace Cypress { interface Chainable { /** * @param name The name of the snapshots that will be generated * @param testThreshold @default 0 A number between 0 and 1 that represents the allowed percentage of pixels that can be different between the two snapshots * @param retryOptions @default { limit: 1 } @see {@link RecurseDefaults} * @example cy.compareSnapshot('empty-canvas', 0.1) */ compareSnapshot( name: string, testThreshold?: number, retryOptions?: Partial ): Chainable } }