export type Status = "idle" | "loading" | "success" | "error"; export declare function mapState(state: string): Status;