UNPKG

narraleaf

Version:

Create your visual novel with Electron and React

8 lines (7 loc) 458 B
import { Result } from "../utils/types"; export declare function importCJS(module: string | string[]): Promise<Result<unknown>>; export declare function failed<T>(error: string): Result<T, false>; export declare function success<T>(data: T): Result<T, true>; export declare function isFailed<T>(result: any): result is Result<T, false>; export declare function toFileProtocol(p: string): string; export declare function zodErrorToString(error: any): string;