import type { ConfigWithDefaults } from '../config/index.ts'; import type { EnvironmentResult } from '../environment/index.ts'; import type { Logger, SkipItem } from '../isomorphic/types.ts'; /** * Resolves a skip list into an extends-report snap request that borrows the * skipped examples from the nearest baseline report. * * This is the same mechanism the storybook/custom integrations use for * `--skip`: the borrowed snapshots are the real snapshots from the baseline, * so the resulting report is complete on its own rather than relying on the * comparison to fill in the gaps. * * Returns undefined when there is nothing to borrow, or when no baseline could * be resolved. findBaselineReport() reports both "there is no baseline" and * "the lookup failed" as undefined (it logs the underlying error itself), so * the message here has to cover both. Either way the skipped examples will show * up as deleted in the comparison, which is worth saying out loud. */ export default function createSkipExtendsRequest(skip: Array, config: ConfigWithDefaults, environment: EnvironmentResult, logger: Logger): Promise; //# sourceMappingURL=createSkipExtendsRequest.d.ts.map