import { RequestState } from "./request_state"; export declare function mapToRequestState(result?: ResultT, error?: Error): RequestState;