import type { ComparisonMethod, SnapshotMeta } from '../shared/types.ts'; type Suite = { meta: Record; suite?: Suite | undefined; }; export type MetaTask = { file?: { meta: Record; } | undefined; suite?: Suite | undefined; meta: Record; } | undefined; export declare function enableAuto(): void; /** * Set the snapshot options for auto snapshot. * * ```ts * beforeAll((suite) => setAutoSnapshotOptions(suite, ...)) * beforeEach(({ task }) => setAutoSnapshotOptions(task, ...)) * * it('...', ({ task }) => { * setAutoSnapshotOptions(task, ...) * }) * ``` * * @param task Optional. Suite or task to set the options. * If not provided, it will set the options for the current test. */ export declare function setAutoSnapshotOptions(task: MetaTask, meta: SnapshotMeta | boolean): void; export declare function setAutoSnapshotOptions(meta: SnapshotMeta | boolean): void; export declare function extractAutoSnapshotOptions = SnapshotMeta>(task: MetaTask): M | undefined; export {}; //# sourceMappingURL=snapshot_options.d.ts.map