import 'reflect-metadata' ; import { Callback , EnumObject , ExactValue , MultiClass } from '@mockingbird/common' ; import { Class , decorateProperty } from '@plumier/reflect' ; import { MockOptions } from '../types' ; export const MOCK_DECORATOR_NAME = 'Mock' ; constructor export function Mock ( ) ; example param callback constructor export function Mock ( callback ) ; example constructor param targetClass export function Mock ( targetClass ) ; example param options constructor export function Mock ( options ) ; param options constructor export function Mock ( options ) ; param regex { RegExp } constructor export function Mock ( regex ) ; example param value constructor export function Mock ( value ) ; param options default constructor export function Mock ( options ? ) { return decorateProperty ( { type : MOCK_DECORATOR_NAME , value : options , } ) ; }