export declare function mapToRequestState(result?: ResultT, _error?: Error): ResultT | undefined;