CaptureFunction type​
The function definition for any implementations of capture
. Custom user-defined methods should be sure to align with this.
export declare type CaptureFunction<TFormatted extends FormattedData = FormattedData, TReport extends Report<TFormatted> = Report<TFormatted>, TReturnedCapture = unknown, TResultCapture extends Result<TReturnedCapture> = Result<TReturnedCapture>> = CaptureFunctionBase<TFormatted, TReport, TReturnedCapture, TResultCapture>;