/** * 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. */importchalk=require('chalk');import{DiffOptionsColor}from'jest-diff';importtype{MatchSnapshotConfig}from'./types';exportdeclareconstgetSnapshotColorForChalkInstance:(chalkInstance:chalk.Chalk)=>DiffOptionsColor;exportdeclareconstgetReceivedColorForChalkInstance:(chalkInstance:chalk.Chalk)=>DiffOptionsColor;exportdeclareconstaSnapshotColor:DiffOptionsColor;exportdeclareconstbReceivedColor:DiffOptionsColor;exportdeclareconstnoColor:(string:string)=>string;exportdeclareconstHINT_ARG="hint";exportdeclareconstSNAPSHOT_ARG="snapshot";exportdeclareconstPROPERTIES_ARG="properties";exportdeclareconstmatcherHintFromConfig:({context:{isNot,promise},hint,inlineSnapshot,matcherName,properties,}:MatchSnapshotConfig,isUpdatable:boolean)=>string;exportdeclareconstprintExpected:(val:unknown)=>string;exportdeclareconstprintReceived:(val:unknown)=>string;exportdeclareconstprintPropertiesAndReceived:(properties:object,received:object,expand:boolean)=>string;exportdeclareconstprintSnapshotAndReceived:(a:string,b:string,received:unknown,expand:boolean)=>string;