import type * as HKT from "@principia/prelude/HKT"; /* * ------------------------------------------- * Task Model * ------------------------------------------- */ export interface LazyPromise { (): Promise; } export type InferA = [T] extends [LazyPromise] ? A : never; export const URI = "LazyPromise"; export type URI = typeof URI; export type V = HKT.Auto; declare module "@principia/prelude/HKT" { interface URItoKind { readonly [URI]: LazyPromise; } }