export default function capture(errMsgBuilder: (err: Error) => string): (target: any, property: string, descriptor: TypedPropertyDescriptor<(...args: any) => any>) => TypedPropertyDescriptor<(...args: any) => any>;