/** * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */importtype{Config}from'@jest/types';exportdeclareconstSNAPSHOT_VERSION="1";exportdeclareconstSNAPSHOT_GUIDE_LINK="https://goo.gl/fbAQLP";exportdeclareconstSNAPSHOT_VERSION_WARNING:string;exportdeclareconsttestNameToKey:(testName:string,count:number)=>string;exportdeclareconstkeyToTestName:(key:string)=>string;exportdeclareconstgetSnapshotData:(snapshotPath:string,update:Config.SnapshotUpdateState)=>{data:Record<string,string>;dirty:boolean;};exportdeclareconstaddExtraLineBreaks:(string:string)=>string;exportdeclareconstremoveExtraLineBreaks:(string:string)=>string;exportdeclareconstremoveLinesBeforeExternalMatcherTrap:(stack:string)=>string;exportdeclareconstserialize:(val:unknown,indent?:number)=>string;exportdeclareconstminify:(val:unknown)=>string;exportdeclareconstdeserializeString:(stringified:string)=>string;exportdeclareconstescapeBacktickString:(str:string)=>string;exportdeclareconstensureDirectoryExists:(filePath:string)=>void;exportdeclareconstsaveSnapshotFile:(snapshotData:Record<string,string>,snapshotPath:string)=>void;exportdeclareconstdeepMerge:(target:any,source:any)=>any;